commit 1755e28ad97bbc9e434fde84c1727fd153b97418
parent 6db9ebbe04d2c2ba8280ea9292c317d84634d51c
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 2 Oct 2006 21:25:41 +0000
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
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git 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
@@ -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;
}