diff --git a/ChangeLog b/ChangeLog index 16ca8c75b246a3794bb42bd4cbfb638b75a35497..7381c46f3ffceeb86f827ab0dad28fea903b2aec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ 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: - Simplify "undef", "ifn?def", "elif", and "else" in the 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 help text. (DLR, suggested by Benno Schulenberg) 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 Schulenberg) - Remove redundant key checks. (DLR) diff --git a/src/help.c b/src/help.c index f33578823f06690f179d786d9f2b51a1faecd753..3c6e9ad404c19e4aa8c2220081b5612ee6cb7535 100644 --- a/src/help.c +++ b/src/help.c @@ -586,6 +586,8 @@ void parse_help_input(int *kbinput, bool *meta_key, bool *func_key) break; /* Cancel is equivalent to Exit here. */ case NANO_CANCEL_KEY: + case 'E': + case 'e': *kbinput = NANO_EXIT_KEY; break; }