commit fe6cb6e5164aa724e9a5d1c48c9dd2b707a8a2fe
parent be69a7c29908d8d36272c18e55b25971557cb270
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 23 Sep 2018 19:43:27 +0200
bindings: recognize <Ctrl+Shift+Delete> also on a Linux console
This fixes https://savannah.gnu.org/bugs/?54716.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -599,6 +599,9 @@ int parse_kbinput(WINDOW *win)
shift_held = TRUE;
}
#endif
+ /* Are both Shift and Ctrl being held while Delete is pressed? */
+ if ((modifiers & 0x05) == 0x05 && retval == KEY_DC)
+ return the_code_for(do_cut_prev_word, KEY_BACKSPACE);
/* Is Ctrl being held? */
if (modifiers & 0x04) {
if (retval == KEY_UP)