]> git.wh0rd.org Git - nano.git/commitdiff
in get_escape_seq_kbinput(), fix a typo preventing the
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 24 Sep 2005 19:42:48 +0000 (19:42 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 24 Sep 2005 19:42:48 +0000 (19:42 +0000)
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

ChangeLog
src/winio.c

index 6977cf25d9b42cbeafb3fa7f68df720200824fd6..ed5d936253e8be7ac1908ebd855339ef5ffb404b 100644 (file)
--- 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(),
index 30789484c55584dc7defed27dd51742ee3bc096a..aef04fac115e9c6ee78e87ad3d47eb48465954df 100644 (file)
@@ -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/