summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-03-20 11:01:00 +0000
committernicm <nicm@openbsd.org>2012-03-20 11:01:00 +0000
commitb1cbd9c41f7e1192bdc0ac18b3ade276cfd16604 (patch)
tree445725bd017dc24ad30e53e23666e1aef3c71b9e /lib
parentthe disease is spreading (diff)
downloadwireguard-openbsd-b1cbd9c41f7e1192bdc0ac18b3ade276cfd16604.tar.xz
wireguard-openbsd-b1cbd9c41f7e1192bdc0ac18b3ade276cfd16604.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 'lib')
0 files changed, 0 insertions, 0 deletions