mirror of
https://github.com/tmux/tmux.git
synced 2026-01-11 08:21:52 +00:00
Extend escape timeout if there are active forwarded requests not just
tmux's own requests. GitHub issue 4793.
This commit is contained in:
@@ -956,7 +956,8 @@ partial_key:
|
|||||||
if (delay == 0)
|
if (delay == 0)
|
||||||
delay = 1;
|
delay = 1;
|
||||||
if ((tty->flags & (TTY_WAITFG|TTY_WAITBG) ||
|
if ((tty->flags & (TTY_WAITFG|TTY_WAITBG) ||
|
||||||
(tty->flags & TTY_ALL_REQUEST_FLAGS) != TTY_ALL_REQUEST_FLAGS)) {
|
(tty->flags & TTY_ALL_REQUEST_FLAGS) != TTY_ALL_REQUEST_FLAGS) ||
|
||||||
|
!TAILQ_EMPTY(&c->input_requests)) {
|
||||||
log_debug("%s: increasing delay for active query", c->name);
|
log_debug("%s: increasing delay for active query", c->name);
|
||||||
if (delay < 500)
|
if (delay < 500)
|
||||||
delay = 500;
|
delay = 500;
|
||||||
|
|||||||
Reference in New Issue
Block a user