]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-boot: Add → as alternative to boot selected entry
authorJan Janssen <medhefgo@web.de>
Wed, 15 Apr 2020 12:18:15 +0000 (14:18 +0200)
committerChris Down <chris@chrisdown.name>
Wed, 15 Apr 2020 20:29:41 +0000 (21:29 +0100)
This is sometimes slightly more convenient to use
and is also what GRUB supports.

man/systemd-boot.xml
src/boot/efi/boot.c

index fff7395f3d91db779708fe656ee5fd14b2c7c54a..8c64aa21e4c24e576f7ab6aa7354e40de3ba6e1a 100644 (file)
 
       <varlistentry>
         <term><keycap>↵</keycap> (Enter)</term>
+        <term><keycap>→</keycap> (Right)</term>
         <listitem><para>Boot selected entry</para></listitem>
       </varlistentry>
 
index 99938c547a25cd7d846aa4c9707c57fdcb07f378..7efe9425cde22753cd6e604d4daaa4482ddc17ee 100644 (file)
@@ -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;