From 9ea05b2fb32395d717ead5d7904acdfaa852b068 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 28 Nov 2019 09:50:09 +0000 Subject: [PATCH] Bump the escape sequence timeout to five seconds to allow for longer legitimate sequences. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index 96fd5d33..452eac7f 100644 --- a/input.c +++ b/input.c @@ -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);