<title>Key bindings</title>
<para>The following keys may be used in the boot menu:</para>
+ <!-- Developer commands Q/v/Ctrl+l deliberately not advertised. -->
+
<variablelist>
<varlistentry>
<term><keycap>↑</keycap> (Up)</term>
</varlistentry>
<varlistentry>
- <term><keycap>v</keycap></term>
- <listitem><para>Show systemd-boot, UEFI, and firmware versions</para></listitem>
- </varlistentry>
-
- <varlistentry>
- <term><keycap>P</keycap></term>
+ <term><keycap>p</keycap></term>
<listitem><para>Print status</para></listitem>
</varlistentry>
- <varlistentry>
- <term><keycap>Q</keycap></term>
- <listitem><para>Quit</para></listitem>
- </varlistentry>
-
<varlistentry>
<term><keycap>h</keycap></term>
<term><keycap>?</keycap></term>
<term><keycap>F1</keycap></term>
<listitem><para>Show a help screen</para></listitem>
</varlistentry>
-
- <varlistentry>
- <term><keycombo><keycap>Ctrl</keycap><keycap>l</keycap></keycombo></term>
- <listitem><para>Reprint the screen</para></listitem>
- </varlistentry>
</variablelist>
<para>The following keys may be pressed during bootup or in the boot menu to directly boot a specific
switch (key) {
case KEYPRESS(0, SCAN_UP, 0):
case KEYPRESS(0, 0, 'k'):
+ case KEYPRESS(0, 0, 'K'):
if (idx_highlight > 0)
idx_highlight--;
break;
case KEYPRESS(0, SCAN_DOWN, 0):
case KEYPRESS(0, 0, 'j'):
+ case KEYPRESS(0, 0, 'J'):
if (idx_highlight < config->entry_count-1)
idx_highlight++;
break;
case KEYPRESS(0, SCAN_F1, 0):
case KEYPRESS(0, 0, 'h'):
+ case KEYPRESS(0, 0, 'H'):
case KEYPRESS(0, 0, '?'):
- status = StrDuplicate(L"(d)efault, (t/T)timeout, (e)dit, (v)ersion (Q)uit (P)rint (h)elp");
+ /* This must stay below 80 characters! Q/v/Ctrl+l deliberately not advertised. */
+ status = StrDuplicate(L"(d)efault (t/T)timeout (e)dit (p)rint (h)elp");
break;
case KEYPRESS(0, 0, 'Q'):
break;
case KEYPRESS(0, 0, 'd'):
+ case KEYPRESS(0, 0, 'D'):
if (config->idx_default_efivar != (INTN)idx_highlight) {
/* store the selected entry in a persistent EFI variable */
efivar_set(
break;
case KEYPRESS(0, 0, 'e'):
+ case KEYPRESS(0, 0, 'E'):
/* only the options of configured entries can be edited */
if (!config->editor || config->entries[idx_highlight]->type == LOADER_UNDEFINED)
break;
ST->FirmwareVendor, ST->FirmwareRevision >> 16, ST->FirmwareRevision & 0xffff);
break;
+ case KEYPRESS(0, 0, 'p'):
case KEYPRESS(0, 0, 'P'):
print_status(config, loaded_image_path);
refresh = TRUE;