summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2023-02-02 18:24:44 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-02-10 13:05:39 +0100
commit88df36346c767f8756e54cc1941b6cda180b61db (patch)
tree2f054ba33d62a72ae12709b95dbe76d2c9ebe60a /common
parent45f5319fa6e88cf3b59addee5caebf06fd26e305 (diff)
eficonfig: CTRL+S to save the boot order
The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'common')
-rw-r--r--common/menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/menu.c b/common/menu.c
index cdcdbb2a18..94514177e4 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -503,6 +503,9 @@ enum bootmenu_key bootmenu_conv_key(int ichar)
case CTL_CH('n'):
key = BKEY_DOWN;
break;
+ case CTL_CH('s'):
+ key = BKEY_SAVE;
+ break;
case '+':
key = BKEY_PLUS;
break;