From 22557df600b0edbb598b5e3e7825b3760b103cdf Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 4 Jan 2016 10:50:21 +0000 Subject: [PATCH] Adding "Tab" as a key description, just like "Del" and "Enter" already are. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5533 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/global.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7036bd45..ebacaefa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ * src/global.c (sctofunc): Rewrite the loop, and constify the input. * src/text.c (do_linter): Condense the exit code. * src/nano.c (allow_sigwinch): Improve its name and its comments. + * src/global.c (shortcut_init): Add "Tab" as key description. 2016-01-04 Mike Frysinger * src/global.c (strtosc, strtomenu): Constify the input parameter. diff --git a/src/global.c b/src/global.c index e4a13280..cba27a0c 100644 --- a/src/global.c +++ b/src/global.c @@ -1225,6 +1225,7 @@ void shortcut_init(void) add_to_sclist(MHELP, "End", do_last_line, 0); #endif add_to_sclist(MMOST, "^I", do_tab, 0); + add_to_sclist(MMOST, "Tab", do_tab, 0); add_to_sclist(MMOST, "^M", do_enter, 0); add_to_sclist(MMOST, "Enter", do_enter, 0); add_to_sclist(MMOST, "^D", do_delete, 0);