diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-08-02 21:06:24 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-08-02 21:16:34 +0200 |
commit | b841bc9b8ea79d76f2964e04973066b09978e109 (patch) | |
tree | c346974be9e04e87b954046d0e81fc00a52f2ad7 /scripts/kconfig/lxdialog/menubox.c | |
parent | b2777ca443e9a5470bc07760cb958f8d4d5e1cb5 (diff) | |
download | embtoolkit-b841bc9b8ea79d76f2964e04973066b09978e109.tar.gz embtoolkit-b841bc9b8ea79d76f2964e04973066b09978e109.tar.bz2 embtoolkit-b841bc9b8ea79d76f2964e04973066b09978e109.tar.xz |
Build system: kconfig : Update from linux-mips 0085b5e052d478f5ef1129ed7325f8f07d720ad4
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'scripts/kconfig/lxdialog/menubox.c')
-rw-r--r-- | scripts/kconfig/lxdialog/menubox.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c index fa9d633..1d60473 100644 --- a/scripts/kconfig/lxdialog/menubox.c +++ b/scripts/kconfig/lxdialog/menubox.c @@ -383,6 +383,10 @@ do_resize: case 'n': case 'm': case '/': + case 'h': + case '?': + case 'z': + case '\n': /* save scroll info */ *s_scroll = scroll; delwin(menu); @@ -390,8 +394,10 @@ do_resize: item_set(scroll + choice); item_set_selected(1); switch (key) { + case 'h': + case '?': + return 2; case 's': - return 3; case 'y': return 3; case 'n': @@ -402,18 +408,12 @@ do_resize: return 6; case '/': return 7; + case 'z': + return 8; + case '\n': + return button; } return 0; - case 'h': - case '?': - button = 2; - case '\n': - *s_scroll = scroll; - delwin(menu); - delwin(dialog); - item_set(scroll + choice); - item_set_selected(1); - return button; case 'e': case 'x': key = KEY_ESC; |