summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/systemd-boot.xml4
-rw-r--r--src/boot/efi/boot.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/man/systemd-boot.xml b/man/systemd-boot.xml
index 99a749b327..7a2d3ec826 100644
--- a/man/systemd-boot.xml
+++ b/man/systemd-boot.xml
@@ -257,12 +257,13 @@
<varlistentry>
<term><keycap>Esc</keycap></term>
+ <term><keycombo><keycap>Ctrl</keycap><keycap>c</keycap></keycombo></term>
<listitem><para>Abort the edit and quit the editor</para></listitem>
</varlistentry>
<varlistentry>
<term><keycombo><keycap>Ctrl</keycap><keycap>k</keycap></keycombo></term>
- <listitem><para>Clear the command line</para></listitem>
+ <listitem><para>Clear the command line forwards</para></listitem>
</varlistentry>
<varlistentry>
@@ -272,6 +273,7 @@
</varlistentry>
<varlistentry>
+ <term><keycombo><keycap>Ctrl</keycap><keycap>Del</keycap></keycombo></term>
<term><keycombo><keycap>Alt</keycap><keycap>d</keycap></keycombo></term>
<listitem><para>Delete word forwards</para></listitem>
</varlistentry>
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c
index a4804887ac..c41d40281c 100644
--- a/src/boot/efi/boot.c
+++ b/src/boot/efi/boot.c
@@ -254,6 +254,7 @@ static bool line_edit(
cursor_left(&cursor, &first);
continue;
+ case KEYPRESS(EFI_CONTROL_PRESSED, SCAN_DELETE, 0):
case KEYPRESS(EFI_ALT_PRESSED, 0, 'd'):
/* kill-word */
clear = 0;