summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-04-17 23:31:09 +0000
committernicm <nicm@openbsd.org>2010-04-17 23:31:09 +0000
commit18deb9806596a0e3515c0e597637c1d4ebd049e3 (patch)
tree298bb4c13a3a64f4672418a2eb09bca502192267 /usr.bin/tmux/input.c
parentIf remain-on-exit is set, both the error callback and a SIGCHLD could (diff)
downloadwireguard-openbsd-18deb9806596a0e3515c0e597637c1d4ebd049e3.tar.xz
wireguard-openbsd-18deb9806596a0e3515c0e597637c1d4ebd049e3.zip
Fix typo in escape state table leading to fatal() when \033} or \033~
was entered, from Chris Johnsen.
Diffstat (limited to 'usr.bin/tmux/input.c')
-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 }