mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
input: don't detect <Ctrl+Shift+Delete> on Linux console in tiny version
This commit is contained in:
parent
c43177487a
commit
dda9d4e357
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user