nano

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

commit 8f36d09d182d8fb252f6237acc0af5e872450594
parent ae4c3a62060bb9dd1fd7d5e8b61766fdc7f6087f
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 24 Sep 2005 19:42:48 +0000

in get_escape_seq_kbinput(), fix a typo preventing the
VT100/VT220/VT320/xterm/rxvt escape sequence for ',' on the numeric
keypad with NumLock off from being interpreted properly


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3029 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 4++++
Msrc/winio.c | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -325,6 +325,10 @@ CVS code - the number of lines and characters in the file or selection, as wc does. (DLR) - winio.c: + get_escape_seq_kbinput() + - Fix typo preventing the VT100/VT220/VT320/xterm/rxvt escape + sequence for ',' on the numeric keypad with NumLock off from + being interpreted properly. (DLR) get_word_kbinput() - Multiply the entered digits by hexadecimal numbers instead of decimal numbers for clarity, rename to get_unicode_kbinput(), diff --git a/src/winio.c b/src/winio.c @@ -738,7 +738,7 @@ int get_escape_seq_kbinput(const int *seq, size_t seq_len, bool case 'l': /* Esc O l == ',' on numeric keypad with * NumLock off on VT100/VT220/VT320/xterm/ * rxvt. */ - retval = '+'; + retval = ','; break; case 'm': /* Esc O m == '-' on numeric keypad with * NumLock off on VT100/VT220/VT320/xterm/