mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
boot: Accept Ctrl+Del for deleting words
This commit is contained in:
parent
d17d0e6770
commit
230f78206a
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user