summaryrefslogtreecommitdiff
path: root/scripts/kconfig/nconf.h
diff options
context:
space:
mode:
authorNir Tzachar <nir.tzachar@gmail.com>2010-08-08 16:50:06 +0300
committerMichal Marek <mmarek@suse.cz>2010-08-16 22:04:55 +0200
commita72f3e2b82eb26f43bed1f83beeeb47830918811 (patch)
tree0735c997af4315ad5bea95a9b1d8acaaf5b557aa /scripts/kconfig/nconf.h
parent3643f849d7da5c12da589beb03c12303fe79b841 (diff)
downloadlwn-a72f3e2b82eb26f43bed1f83beeeb47830918811.tar.gz
lwn-a72f3e2b82eb26f43bed1f83beeeb47830918811.zip
nconfig: add search support
Remove the old hotkeys feature, and replace it by an interactive string search. From nconfig help: Searching: pressing '/' triggers interactive search mode. nconfig performs a case insensitive search for the string in the menu prompts (no regex support). Pressing the up/down keys highlights the previous/next matching item. Backspace removes one character from the match string. Pressing either '/' again or ESC exits search mode. All other keys behave normally. Miscellaneous other changes (including Rundy's and Justin's input). Signed-off-by: Nir Tzachar <nir.tzachar@gmail.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.h')
-rw-r--r--scripts/kconfig/nconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/nconf.h b/scripts/kconfig/nconf.h
index fb4296666004..58fbda8fc0dc 100644
--- a/scripts/kconfig/nconf.h
+++ b/scripts/kconfig/nconf.h
@@ -69,7 +69,8 @@ typedef enum {
F_BACK = 5,
F_SAVE = 6,
F_LOAD = 7,
- F_EXIT = 8
+ F_SEARCH = 8,
+ F_EXIT = 9,
} function_key;
void set_colors(void);