sd-boot: Add → as alternative to boot selected entry

This is sometimes slightly more convenient to use
and is also what GRUB supports.
This commit is contained in:
Jan Janssen 2020-04-15 14:18:15 +02:00 committed by Chris Down
parent 80cc3e3eab
commit 904ebcb200
2 changed files with 2 additions and 0 deletions

View file

@ -123,6 +123,7 @@
<varlistentry> <varlistentry>
<term><keycap></keycap> (Enter)</term> <term><keycap></keycap> (Enter)</term>
<term><keycap></keycap> (Right)</term>
<listitem><para>Boot selected entry</para></listitem> <listitem><para>Boot selected entry</para></listitem>
</varlistentry> </varlistentry>

View file

@ -742,6 +742,7 @@ static BOOLEAN menu_run(
case KEYPRESS(0, 0, CHAR_LINEFEED): case KEYPRESS(0, 0, CHAR_LINEFEED):
case KEYPRESS(0, 0, CHAR_CARRIAGE_RETURN): case KEYPRESS(0, 0, CHAR_CARRIAGE_RETURN):
case KEYPRESS(0, SCAN_RIGHT, 0):
exit = TRUE; exit = TRUE;
break; break;