Add a modifier key correction for the linux tty

This commit is contained in:
Markus Gans 2016-07-23 19:59:55 +02:00
parent 3a822e3f3b
commit 8b0ac17b63
1 changed files with 5 additions and 1 deletions

View File

@ -440,7 +440,11 @@ int FApplication::modifierKeyCorrection (int& key)
getModifierKey(); getModifierKey();
modifier_key& m = mod_key; modifier_key& m = mod_key;
if ( m.shift && ! m.ctrl && ! m.alt ) if ( ! m.shift && ! m.ctrl && ! m.alt )
{
return key;
}
else if ( m.shift && ! m.ctrl && ! m.alt )
{ {
switch ( key ) switch ( key )
{ {