diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-28 22:53:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-28 22:53:14 +0000 |
commit | dc3fdc8dc7c45fc4924ee4eeb8b6c7c6a80e41f1 (patch) | |
tree | fcc4e2b9506420e9b35c48811052cafc7866ee22 /tmux.h | |
parent | 1eaefbf1698fc66815e538fc3040f4446f444f7b (diff) | |
download | rtmux-dc3fdc8dc7c45fc4924ee4eeb8b6c7c6a80e41f1.tar.gz rtmux-dc3fdc8dc7c45fc4924ee4eeb8b6c7c6a80e41f1.tar.bz2 rtmux-dc3fdc8dc7c45fc4924ee4eeb8b6c7c6a80e41f1.zip |
If any client currently displaying a window pane has more than 1 KB of output
buffered, don't accept any further data from the process running in the pane.
This makes tmux much more responsive when flooded with output, although other
buffers can still have an impact when running remotely.
Prompted by a query from Ranganathan Sankaralingam.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -65,6 +65,9 @@ extern char **environ; /* Maximum poll timeout (when attached). */ #define POLL_TIMEOUT 50 +/* Maximum data to buffer for output before suspending reading from panes. */ +#define BACKOFF_THRESHOLD 1024 + /* * Maximum sizes of strings in message data. Don't forget to bump * PROTOCOL_VERSION if any of these change! |