mirror of
https://github.com/tmux/tmux.git
synced 2025-12-15 18:55:33 +00:00
Switch tty fds over to a bufferevent.
This commit is contained in:
@@ -87,7 +87,8 @@ server_window_backoff(struct window_pane *wp)
|
||||
continue;
|
||||
if (c->session->curw->window != wp->window)
|
||||
continue;
|
||||
if (BUFFER_USED(c->tty.out) > BACKOFF_THRESHOLD)
|
||||
|
||||
if (EVBUFFER_LENGTH(c->tty.event->output) > BACKOFF_THRESHOLD)
|
||||
return (1);
|
||||
}
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user