diff options
author | Jan Janssen <medhefgo@web.de> | 2020-04-15 14:18:15 +0200 |
---|---|---|
committer | Chris Down <chris@chrisdown.name> | 2020-04-15 21:29:41 +0100 |
commit | 904ebcb2004858d4646550036c7db426d48e17d5 (patch) | |
tree | 65b3a4d2badfc724397cac4ea13fa0419ad33e09 | |
parent | 80cc3e3eabd2cf4e31ae3f0d6e2ac7b61d0a1832 (diff) | |
download | systemd-904ebcb2004858d4646550036c7db426d48e17d5.tar.gz |
sd-boot: Add → as alternative to boot selected entry
This is sometimes slightly more convenient to use
and is also what GRUB supports.
-rw-r--r-- | man/systemd-boot.xml | 1 | ||||
-rw-r--r-- | src/boot/efi/boot.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/man/systemd-boot.xml b/man/systemd-boot.xml index fff7395f3d..8c64aa21e4 100644 --- a/man/systemd-boot.xml +++ b/man/systemd-boot.xml @@ -123,6 +123,7 @@ <varlistentry> <term><keycap>↵</keycap> (Enter)</term> + <term><keycap>→</keycap> (Right)</term> <listitem><para>Boot selected entry</para></listitem> </varlistentry> diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 99938c547a..7efe9425cd 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -742,6 +742,7 @@ static BOOLEAN menu_run( case KEYPRESS(0, 0, CHAR_LINEFEED): case KEYPRESS(0, 0, CHAR_CARRIAGE_RETURN): + case KEYPRESS(0, SCAN_RIGHT, 0): exit = TRUE; break; |