mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
f9f6eea4441bb62634b35d17ded3b4c7d460dea6

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.
Description
No description provided
Languages
C
87.4%
Roff
7.1%
Shell
2.7%
Yacc
1.4%
M4
0.8%
Other
0.5%