summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-04-17 23:31:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-04-17 23:31:09 +0000
commit622593a77f30e9a309c1b2e4979bd961b894c858 (patch)
tree1808bbf445be6282ff47cf5562824cb98e3beffd
parenta6d52405a8eea89d803a95843687c49f9115ca65 (diff)
Fix typo in escape state table leading to fatal() when \033} or \033~
was entered, from Chris Johnsen.
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index e709b366..f49591a7 100644
--- a/input.c
+++ b/input.c
@@ -385,7 +385,7 @@ const struct input_transition input_state_esc_enter_table[] = {
{ 0x5f, 0x5f, NULL, &input_state_apc_string },
{ 0x60, 0x6a, input_esc_dispatch, &input_state_ground },
{ 0x6b, 0x6b, NULL, &input_state_rename_string },
- { 0x6c, 0x7c, input_esc_dispatch, &input_state_ground },
+ { 0x6c, 0x7e, input_esc_dispatch, &input_state_ground },
{ 0x7f, 0xff, NULL, NULL },
{ -1, -1, NULL, NULL }