input: don't detect <Ctrl+Shift+Delete> on Linux console in tiny version

This commit is contained in:
David Lawrence Ramsey 2018-10-15 14:43:26 -05:00 committed by Benno Schulenberg
parent c43177487a
commit dda9d4e357

View File

@ -610,10 +610,10 @@ int parse_kbinput(WINDOW *win)
return SHIFT_TAB; return SHIFT_TAB;
shift_held = TRUE; shift_held = TRUE;
} }
#endif
/* Are both Shift and Ctrl being held while Delete is pressed? */ /* Are both Shift and Ctrl being held while Delete is pressed? */
if ((modifiers & 0x05) == 0x05 && retval == KEY_DC) if ((modifiers & 0x05) == 0x05 && retval == KEY_DC)
return CONTROL_SHIFT_DELETE; return CONTROL_SHIFT_DELETE;
#endif
/* Is Ctrl being held? */ /* Is Ctrl being held? */
if (modifiers & 0x04) { if (modifiers & 0x04) {
if (retval == KEY_UP) if (retval == KEY_UP)