summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-07-28 04:13:02 +0200
committerKay Sievers <kay@vrfy.org>2013-07-28 04:13:02 +0200
commita44a5c9d1f6365f9cbaee10e7583abd910867d03 (patch)
treec00c00ff995222c8a665bd334ece00b3851af4db
parentd79e9ed5cacc1947225586e7a2624105e85fce90 (diff)
support CTRL-c to exit option editor
-rw-r--r--src/efi/gummiboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/efi/gummiboot.c b/src/efi/gummiboot.c
index c4d22f3..dc1ae97 100644
--- a/src/efi/gummiboot.c
+++ b/src/efi/gummiboot.c
@@ -333,7 +333,8 @@ static BOOLEAN line_edit(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max, UINTN
{ 0, CHAR_CTRL('a') }, { SCAN_HOME, 0 },
{ 0, CHAR_CTRL('e') }, { SCAN_END, 0 },
{ 0, CHAR_CTRL('f') }, { SCAN_DOWN, 0 },
- { 0, CHAR_CTRL('b') }, { SCAN_UP, 0 }
+ { 0, CHAR_CTRL('b') }, { SCAN_UP, 0 },
+ { 0, CHAR_CTRL('c') }, { SCAN_ESC, 0 }
};
if (!line_in)