From dccfe941a4ce4391b726b4a1a500ffc775912d75 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 18 Apr 2007 13:48:37 +0000 Subject: [PATCH] in get_escape_seq_kbinput(), add missing comments git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_0_branch/nano@4077 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/winio.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f1ad0ee..3722111f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,9 @@ CVS code - input_tab() - Don't bother checking if num_matches is less than zero, as it's a size_t and hence unsigned. (DLR) +- winio.c: + get_escape_seq_kbinput() + - Add missing comments. (DLR) - doc/syntax/asm.nanorc, doc/syntax/c.nanorc, doc/syntax/sh.nanorc: - Copy the regex that highlights trailing whitespace from doc/syntax/java.nanorc to these files, as it's also useful in diff --git a/src/winio.c b/src/winio.c index 1dd39f11..5527557d 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1087,16 +1087,16 @@ int get_escape_seq_kbinput(const int *seq, size_t seq_len) break; case 'A': /* Esc [ A == Up on ANSI/VT220/Linux * console/FreeBSD console/Mach console/ - * rxvt/Eterm. */ + * rxvt/Eterm/Terminal. */ case 'B': /* Esc [ B == Down on ANSI/VT220/Linux * console/FreeBSD console/Mach console/ - * rxvt/Eterm. */ + * rxvt/Eterm/Terminal. */ case 'C': /* Esc [ C == Right on ANSI/VT220/Linux * console/FreeBSD console/Mach console/ - * rxvt/Eterm. */ + * rxvt/Eterm/Terminal. */ case 'D': /* Esc [ D == Left on ANSI/VT220/Linux * console/FreeBSD console/Mach console/ - * rxvt/Eterm. */ + * rxvt/Eterm/Terminal. */ retval = get_escape_seq_abcd(seq[1]); break; case 'E': /* Esc [ E == Center (5) on numeric keypad -- 2.39.5