diff options
author | Benjamin Poirier <bpoirier@suse.de> | 2012-07-24 22:12:02 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-07-26 12:20:43 +0200 |
commit | 9d4792c9b4e9cab75e657cec0c140875472d16f0 (patch) | |
tree | 63dec33373a5ac72216930c77869804e3260ae52 /scripts/kconfig/lxdialog | |
parent | scripts/config: fix double-quotes un-escaping (diff) | |
download | linux-9d4792c9b4e9cab75e657cec0c140875472d16f0.tar.xz linux-9d4792c9b4e9cab75e657cec0c140875472d16f0.zip |
menuconfig: add u, d, q command keys in text boxes
They function just like they do in less(1).
Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/lxdialog')
-rw-r--r-- | scripts/kconfig/lxdialog/textbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kconfig/lxdialog/textbox.c b/scripts/kconfig/lxdialog/textbox.c index 154c2dd245b7..4e5de60a0c0d 100644 --- a/scripts/kconfig/lxdialog/textbox.c +++ b/scripts/kconfig/lxdialog/textbox.c @@ -129,6 +129,7 @@ do_resize: case 'e': case 'X': case 'x': + case 'q': delwin(box); delwin(dialog); return 0; @@ -190,6 +191,7 @@ do_resize: break; case 'B': /* Previous page */ case 'b': + case 'u': case KEY_PPAGE: if (begin_reached) break; @@ -214,6 +216,7 @@ do_resize: break; case KEY_NPAGE: /* Next page */ case ' ': + case 'd': if (end_reached) break; |