diff options
author | Benjamin Poirier <bpoirier@suse.de> | 2012-08-23 14:55:06 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-09-27 12:09:24 -0400 |
commit | 5e609addb1bd963ce1a1929f2012c8dd04ca8620 (patch) | |
tree | 6ec819fc7af3de4bfcddb3f42c2a2c0121ed2653 /scripts/kconfig/nconf.c | |
parent | 1d1e2caebbf1f4f25ad473e90650cdc9291fdd22 (diff) |
menuconfig: Add jump keys to search results
makes it possible to jump directly to the menu for a configuration entry after
having searched for it with '/'. If this menu is not currently accessible we
jump to the nearest accessible parent instead. After exiting this menu, the
user is returned to the search results where he may jump further in or
elsewhere.
Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r-- | scripts/kconfig/nconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index 1704a8562a5d..87d4b15da951 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
@@ -721,7 +721,7 @@ again: | |||
721 | dialog_input += strlen(CONFIG_); | 721 | dialog_input += strlen(CONFIG_); |
722 | 722 | ||
723 | sym_arr = sym_re_search(dialog_input); | 723 | sym_arr = sym_re_search(dialog_input); |
724 | res = get_relations_str(sym_arr); | 724 | res = get_relations_str(sym_arr, NULL); |
725 | free(sym_arr); | 725 | free(sym_arr); |
726 | show_scroll_win(main_window, | 726 | show_scroll_win(main_window, |
727 | _("Search Results"), str_get(&res)); | 727 | _("Search Results"), str_get(&res)); |