diff options
author | 2010-04-17 23:31:09 +0000 | |
---|---|---|
committer | 2010-04-17 23:31:09 +0000 | |
commit | 18deb9806596a0e3515c0e597637c1d4ebd049e3 (patch) | |
tree | 298bb4c13a3a64f4672418a2eb09bca502192267 /usr.bin/tmux/input.c | |
parent | If remain-on-exit is set, both the error callback and a SIGCHLD could (diff) | |
download | wireguard-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.c | 4 |
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 } |