From: Jan Janssen Date: Mon, 29 Aug 2022 08:39:49 +0000 (+0200) Subject: boot: Accept Ctrl+Del for deleting words X-Git-Tag: v252-rc1~232^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=230f78206a579c624f4bf5c5b28c4e70ff14a9d3;p=thirdparty%2Fsystemd.git boot: Accept Ctrl+Del for deleting words --- diff --git a/man/systemd-boot.xml b/man/systemd-boot.xml index 99a749b3270..7a2d3ec8264 100644 --- a/man/systemd-boot.xml +++ b/man/systemd-boot.xml @@ -257,12 +257,13 @@ Esc + Ctrlc Abort the edit and quit the editor Ctrlk - Clear the command line + Clear the command line forwards @@ -272,6 +273,7 @@ + CtrlDel Altd Delete word forwards diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index a4804887acc..c41d40281c4 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;