mirror of git://git.sv.gnu.org/nano.git
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
This commit is contained in:
parent
175f27524b
commit
dccfe941a4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue