aboutsummaryrefslogtreecommitdiff
path: root/cmd-find-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-20 11:01:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-20 11:01:00 +0000
commitf59971276ac02d8b42ef222509673ff356800f56 (patch)
tree8454dbd9bed36b33f8867a15c86725b29024adbd /cmd-find-window.c
parentbf9e7a1c688eaa48dc2c0900ccd12a06e35c3ae4 (diff)
downloadrtmux-f59971276ac02d8b42ef222509673ff356800f56.tar.gz
rtmux-f59971276ac02d8b42ef222509673ff356800f56.tar.bz2
rtmux-f59971276ac02d8b42ef222509673ff356800f56.zip
Add a simple form of output rate limiting by counting the number of
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui.
Diffstat (limited to 'cmd-find-window.c')
0 files changed, 0 insertions, 0 deletions