From 1b9af63f551ccc4848d25a3da257800cf34a2207 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 22 Aug 2023 11:28:10 +0200 Subject: [PATCH] boot: add control-less alias for Ctrl-l hotkey I couldn't get ctrl work properly over serial line/qemu. Hence, let's add an alias for Ctrl-l: a simple Shift-l (i.e. uppercase L) (Note that lowercase L will result in selection of the first Linux entry, hence we stay away from that) --- src/boot/efi/boot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 30272ce2dd5..3704ee68469 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -963,6 +963,7 @@ static bool menu_run( case KEYPRESS(EFI_CONTROL_PRESSED, 0, 'l'): case KEYPRESS(EFI_CONTROL_PRESSED, 0, CHAR_CTRL('l')): + case 'L': /* only uppercase, do not conflict with lower-case 'l' which picks first Linux entry */ clear = true; break; -- 2.47.3