nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e11021a7a509d0fddff5aa32cfe077d6b0c42404
parent 83c264939b49e2f08c0d069ea66c88802c557e6c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 25 Jan 2018 12:54:43 +0100

input: recognize the deviant keycode for <Ctrl+End> in urxvt

This fixes https://savannah.gnu.org/bugs/?52972.
Reported-by: Brand Huntsman <alpha@qzx.com>

Diffstat:
Msrc/winio.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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: