From: David Lawrence Ramsey Date: Sat, 24 Sep 2005 19:42:48 +0000 (+0000) Subject: in get_escape_seq_kbinput(), fix a typo preventing the X-Git-Tag: v1.3.9~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8f36d09d182d8fb252f6237acc0af5e872450594;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index 6977cf25..ed5d9362 100644 --- 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 index 30789484..aef04fac 100644 --- 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/