in parse_help_input(), add 'E' and 'e' as aliases for Exit, for

consistency with the file browser


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3891 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-10-02 21:25:41 +00:00
parent 6db9ebbe04
commit 1755e28ad9
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,8 @@
CVS code - CVS code -
- help.c:
parse_help_input()
- Add 'E' and 'e' as aliases for Exit, for consistency with the
file browser. (DLR)
- doc/syntax/c.nanorc: - doc/syntax/c.nanorc:
- Simplify "undef", "ifn?def", "elif", and "else" in the - Simplify "undef", "ifn?def", "elif", and "else" in the
preprocessor regexes. (DLR) preprocessor regexes. (DLR)
@ -546,7 +550,7 @@ GNU nano 1.3.12 - 2006.06.26
have fewer than 24 columns, for consistency with the toggle have fewer than 24 columns, for consistency with the toggle
help text. (DLR, suggested by Benno Schulenberg) help text. (DLR, suggested by Benno Schulenberg)
parse_help_input() parse_help_input()
- Add Space and - as aliases for PageDown and PageUp, for - Add Space and '-' as aliases for PageDown and PageUp, for
consistency with the file browser. (DLR, suggested by Benno consistency with the file browser. (DLR, suggested by Benno
Schulenberg) Schulenberg)
- Remove redundant key checks. (DLR) - Remove redundant key checks. (DLR)

View File

@ -586,6 +586,8 @@ void parse_help_input(int *kbinput, bool *meta_key, bool *func_key)
break; break;
/* Cancel is equivalent to Exit here. */ /* Cancel is equivalent to Exit here. */
case NANO_CANCEL_KEY: case NANO_CANCEL_KEY:
case 'E':
case 'e':
*kbinput = NANO_EXIT_KEY; *kbinput = NANO_EXIT_KEY;
break; break;
} }