commit dda9d4e357749bd6f7b23b20888b4109485068ef
parent c43177487af6af21449fe3c27e295b72790dc723
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 15 Oct 2018 14:43:26 -0500
input: don't detect <Ctrl+Shift+Delete> on Linux console in tiny version
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/winio.c b/src/winio.c
@@ -610,10 +610,10 @@ int parse_kbinput(WINDOW *win)
return SHIFT_TAB;
shift_held = TRUE;
}
-#endif
/* Are both Shift and Ctrl being held while Delete is pressed? */
if ((modifiers & 0x05) == 0x05 && retval == KEY_DC)
return CONTROL_SHIFT_DELETE;
+#endif
/* Is Ctrl being held? */
if (modifiers & 0x04) {
if (retval == KEY_UP)