summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-04-17 23:31:10 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-04-17 23:31:10 +0000
commit74c088e1fcb65f9b87a38e65dc3c386cd7acd2a5 (patch)
tree50135d5966e99819556769795545d0fc16b3ffe3 /usr.bin/tmux
parent7bf029de6dd52bffcc9f3bb3fb4c2e27196c740a (diff)
Fix typo in escape state table leading to fatal() when \033} or \033~
was entered, from Chris Johnsen.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 6d83af2382b..e8a2c1867ce 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.28 2010/03/22 19:02:54 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.29 2010/04/17 23:31:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 }