aboutsummaryrefslogtreecommitdiff
path: root/common/cli_getch.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cli_getch.c')
-rw-r--r--common/cli_getch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cli_getch.c b/common/cli_getch.c
index 61d4cb261b..0ee7908777 100644
--- a/common/cli_getch.c
+++ b/common/cli_getch.c
@@ -46,6 +46,8 @@ static int cli_ch_esc(struct cli_ch_state *cch, int ichar,
case 1:
if (ichar == '[' || ichar == 'O')
act = ESC_SAVE;
+ else
+ act = ESC_CONVERTED;
break;
case 2:
switch (ichar) {