diff options
author | Benjamin Poirier <bpoirier@suse.de> | 2012-08-23 14:55:06 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-09-27 18:09:24 +0200 |
commit | 5e609addb1bd963ce1a1929f2012c8dd04ca8620 (patch) | |
tree | 6ec819fc7af3de4bfcddb3f42c2a2c0121ed2653 /scripts/kconfig/expr.h | |
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/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index d4ecce8bc3a..52f4246bd34 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -173,6 +173,8 @@ struct menu { #define MENU_CHANGED 0x0001 #define MENU_ROOT 0x0002 +#define JUMP_NB 9 + extern struct file *file_list; extern struct file *current_file; struct file *lookup_file(const char *name); |