mirror of
https://github.com/tmux/tmux.git
synced 2026-01-09 22:30:19 +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)
|
||||
delay = 1;
|
||||
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);
|
||||
if (delay < 500)
|
||||
delay = 500;
|
||||
|
||||
Reference in New Issue
Block a user