diff options
author | Kay Sievers <kay@vrfy.org> | 2013-10-18 02:32:41 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-10-18 02:33:32 +0200 |
commit | 456af5d5ded65d7b86540e3673596ceae6f9192b (patch) | |
tree | 862087ff65353066396996bc864180d80b96221e | |
parent | 5491c78139f85fbd5f655ff6eb4b3bcf6185183f (diff) |
handle CTRL-w in line editor
-rw-r--r-- | src/efi/gummiboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/efi/gummiboot.c b/src/efi/gummiboot.c index 99e95a6..8ef3e09 100644 --- a/src/efi/gummiboot.c +++ b/src/efi/gummiboot.c @@ -492,6 +492,8 @@ static BOOLEAN line_edit(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max, UINTN line[len] = '\0'; continue; + case KEYPRESS(EFI_CONTROL_PRESSED, 0, 'w'): + case KEYPRESS(EFI_CONTROL_PRESSED, 0, CHAR_CTRL('w')): case KEYPRESS(EFI_ALT_PRESSED, 0, CHAR_BACKSPACE): /* backward-kill-word */ clear = 0; |