summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-11-29 11:05:29 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-11-29 11:05:29 +0000
commit35d8e77c302da51c627d6f4cdf62221f6803f9d0 (patch)
tree6e49e9ccbe4fcb47d3278d5b224b71b10421a01b /usr.bin/tmux/tty.c
parent8edb9ff422dbe6baeb87bc629881114eb8f18633 (diff)
Bump response timer to three seconds, GitHub issue 2984.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 4e13938b2f1..a10567d5d4b 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.411 2021/11/03 13:37:17 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.412 2021/11/29 11:05:28 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -302,7 +302,7 @@ tty_start_tty(struct tty *tty)
{
struct client *c = tty->client;
struct termios tio;
- struct timeval tv = { .tv_sec = 1 };
+ struct timeval tv = { .tv_sec = 3 };
setblocking(c->fd, 0);
event_add(&tty->event_in, NULL);