Nicholas Marriott f59971276a 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.
2012-03-20 11:01:00 +00:00
2010-06-05 16:32:22 +00:00
2012-01-21 11:12:13 +00:00
2012-01-21 11:12:13 +00:00
2012-03-17 22:34:12 +00:00
2012-01-21 11:12:13 +00:00
2012-01-21 11:12:13 +00:00
2012-03-17 18:38:58 +00:00
2012-01-21 11:12:13 +00:00
2011-12-01 23:47:08 +00:00
2009-10-26 21:42:04 +00:00
Description
Instant Terminal Sharing
17 MiB
Languages
C 90.6%
Roff 7.1%
M4 1%
Awk 0.6%
Makefile 0.4%
Other 0.2%