summaryrefslogtreecommitdiff
path: root/util/kconfig/nconf.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2022-10-28 01:00:26 +0200
committerPatrick Georgi <patrick@coreboot.org>2022-10-30 08:46:50 +0000
commit1215cc7632516b88958dd169c29da8476c694527 (patch)
tree734418cbba8ce8d6ef41665dc641076b5910dcc6 /util/kconfig/nconf.c
parent5526be21eacbee90d004343e9efdf4f8eb6242b7 (diff)
util/kconfig: Uprev to Linux 5.19's kconfig
Only minor changes in kconfig this time that shouldn't affect us. TEST=`util/abuild/abuild -C` output (build.h and build.conf) remains the same Change-Id: Icc83c929dd1ea2d98e1a789560ce26886ded1f12 Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68914 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'util/kconfig/nconf.c')
-rw-r--r--util/kconfig/nconf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/util/kconfig/nconf.c b/util/kconfig/nconf.c
index 20ddf990de..d3afdbea65 100644
--- a/util/kconfig/nconf.c
+++ b/util/kconfig/nconf.c
@@ -54,8 +54,8 @@ static const char nconf_global_help[] =
"\n"
"Menu navigation keys\n"
"----------------------------------------------------------------------\n"
-"Linewise up <Up>\n"
-"Linewise down <Down>\n"
+"Linewise up <Up> <k>\n"
+"Linewise down <Down> <j>\n"
"Pagewise up <Page Up>\n"
"Pagewise down <Page Down>\n"
"First entry <Home>\n"
@@ -1118,9 +1118,11 @@ static void conf(struct menu *menu)
break;
switch (res) {
case KEY_DOWN:
+ case 'j':
menu_driver(curses_menu, REQ_DOWN_ITEM);
break;
case KEY_UP:
+ case 'k':
menu_driver(curses_menu, REQ_UP_ITEM);
break;
case KEY_NPAGE:
@@ -1300,9 +1302,11 @@ static void conf_choice(struct menu *menu)
break;
switch (res) {
case KEY_DOWN:
+ case 'j':
menu_driver(curses_menu, REQ_DOWN_ITEM);
break;
case KEY_UP:
+ case 'k':
menu_driver(curses_menu, REQ_UP_ITEM);
break;
case KEY_NPAGE: