Bump the escape sequence timeout to five seconds to allow for longer

legitimate sequences.
This commit is contained in:
nicm 2019-11-28 09:50:09 +00:00
parent 2349b1dbef
commit 9ea05b2fb3

View File

@ -740,7 +740,7 @@ input_timer_callback(__unused int fd, __unused short events, void *arg)
static void static void
input_start_timer(struct input_ctx *ictx) 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_del(&ictx->timer);
event_add(&ictx->timer, &tv); event_add(&ictx->timer, &tv);