Added support for Command/Meta key

This commit is contained in:
alexey.lysiuk 2014-08-03 12:18:15 +03:00
commit 32af6cb0cf
4 changed files with 18 additions and 1 deletions

View file

@ -1421,7 +1421,11 @@ static bool C_HandleKey (event_t *ev, BYTE *buffer, int len)
case 'V':
TabbedLast = false;
TabbedList = false;
#ifdef __APPLE__
if (ev->data3 & GKM_META)
#else // !__APPLE__
if (ev->data3 & GKM_CTRL)
#endif // __APPLE__
{
if (data1 == 'C')
{ // copy to clipboard