Change the way backoff works. Instead of stopping reading from the pty
commit8363e31953a346b3cd4141bf30a8d79d37ca2674
authorNicholas Marriott <nicm@openbsd.org>
Wed, 11 Aug 2010 07:34:43 +0000 (11 07:34 +0000)
committerNicholas Marriott <nicm@openbsd.org>
Wed, 11 Aug 2010 07:34:43 +0000 (11 07:34 +0000)
tree1052ae596f467e6f915c555530ce6b64df31e621
parent933dc48de356e387c0c027e654e1ae5f2f24c711
Change the way backoff works. Instead of stopping reading from the pty
when the client tty backs up too much, just stop updating the tty and
only update the internal screen. Then when the tty recovers, force a
redraw.

This prevents a dodgy client from causing other clients to go into
backoff while still allowing tmux to be responsive (locally) when seeing
lots of output.
server-client.c
server-window.c
tmux.h
tty.c