nano

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

commit 0333b87ad72166ce70c0ff4a0d21cf7231829b71
parent 059c8efb441dae7b872871ba5fae6c070168d47d
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Wed, 23 Nov 2016 20:45:45 +0100

input: distinguish <Alt+Left> from <Alt+Right> on an rxvt terminal

Both would jump a word to the left -- now each jumps a word in the
proper direction.

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

diff --git a/src/winio.c b/src/winio.c @@ -401,10 +401,10 @@ int parse_kbinput(WINDOW *win) retval = KEY_END; break; case 'C': - retval = controlright; + retval = CONTROL_RIGHT; break; case 'D': - retval = controlleft; + retval = CONTROL_LEFT; break; case 'a': retval = shiftaltup;