From 1a27458ca1e1939312c1ea8a49a714452d3a146e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 28 Nov 2019 09:50:10 +0000 Subject: Bump the escape sequence timeout to five seconds to allow for longer legitimate sequences. --- usr.bin/tmux/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 @@ -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); -- cgit v1.2.3