diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-11-28 09:50:10 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-11-28 09:50:10 +0000 |
commit | 1a27458ca1e1939312c1ea8a49a714452d3a146e (patch) | |
tree | 353b8d1c7dddebb2c9c0a76547cb35252aa86dfc /usr.bin | |
parent | 332d37b3319263b8c09ea404476dbe60236e9838 (diff) |
Bump the escape sequence timeout to five seconds to allow for longer
legitimate sequences.
Diffstat (limited to 'usr.bin')
-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 c1193114ba4..ab5e78b9dbd 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.166 2019/11/15 11:21:32 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.167 2019/11/28 09:50:09 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -740,7 +740,7 @@ input_timer_callback(__unused int fd, __unused short events, void *arg) static void input_start_timer(struct input_ctx *ictx) { - struct timeval tv = { .tv_usec = 100000 }; + struct timeval tv = { .tv_sec = 5, .tv_usec = 0 }; event_del(&ictx->timer); event_add(&ictx->timer, &tv); |