Commit 1755e28a authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
parent 6db9ebbe
Showing with 7 additions and 1 deletion
+7 -1
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 ...@@ -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)
......
...@@ -586,6 +586,8 @@ void parse_help_input(int *kbinput, bool *meta_key, bool *func_key) ...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment