From e11021a7a509d0fddff5aa32cfe077d6b0c42404 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 25 Jan 2018 12:54:43 +0100 Subject: [PATCH] input: recognize the deviant keycode for in urxvt This fixes https://savannah.gnu.org/bugs/?52972. Reported-by: Brand Huntsman --- src/winio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/winio.c b/src/winio.c index ee54bbef..ce99134f 100644 --- a/src/winio.c +++ b/src/winio.c @@ -665,6 +665,10 @@ int parse_kbinput(WINDOW *win) shift_held = TRUE; case KEY_C1: /* End (1) on keypad with NumLock off. */ return KEY_END; +#ifdef KEY_EOL + case KEY_EOL: /* Ctrl+End on rxvt-unicode. */ + return CONTROL_END; +#endif #ifndef NANO_TINY #ifdef KEY_SPREVIOUS case KEY_SPREVIOUS: