mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-21 20:31:20 +03:00
Making "Tab" produce the appropriate keycode.
This fixes Savannah bug #46812. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5535 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
9d72efa474
commit
9962e3b65c
@ -6,6 +6,8 @@
|
||||
* src/nano.c (allow_sigwinch): Improve its name and its comments.
|
||||
* src/global.c (shortcut_init): Add "Tab" as key description.
|
||||
* src/text.c (do_linter): Gettextize a forgotten string.
|
||||
* src/global.c (assign_keyinfo): Make "Tab" produce the appropriate
|
||||
keycode. This fixes Savannah bug #46812 reported by Cody A. Taylor.
|
||||
|
||||
2016-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
* src/global.c (strtosc, strtomenu): Constify the input parameter.
|
||||
|
@ -441,6 +441,8 @@ void assign_keyinfo(sc *s)
|
||||
s->seq = KEY_DC;
|
||||
else if (!strcasecmp(s->keystr, "Bsp"))
|
||||
s->seq = KEY_BACKSPACE;
|
||||
else if (!strcasecmp(s->keystr, "Tab"))
|
||||
s->seq = 9;
|
||||
else if (!strcasecmp(s->keystr, "Enter"))
|
||||
s->seq = KEY_ENTER;
|
||||
else if (!strcasecmp(s->keystr, "PgUp"))
|
||||
|
Loading…
Reference in New Issue
Block a user