diff options
author | nicm <nicm> | 2016-09-16 13:43:41 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-09-16 13:43:41 +0000 |
commit | eb50e7a2c87ed8c18f2944e0082e961acb70765b (patch) | |
tree | 980730cb291256386e94ecb929c04631f062d9c0 /cmd-set-option.c | |
parent | 2e5584c2b41df1c1b836c3229ea78f8ea3d81054 (diff) | |
download | rtmux-eb50e7a2c87ed8c18f2944e0082e961acb70765b.tar.gz rtmux-eb50e7a2c87ed8c18f2944e0082e961acb70765b.tar.bz2 rtmux-eb50e7a2c87ed8c18f2944e0082e961acb70765b.zip |
Swap watermarks from high (4096) to low (128) when we get full buffers
into the read callback several times in succession; swap back when we
see empty buffers several times. This hopefully limits how much programs
that print a lot for a long period can monopolize tmux (like large, fast
compiling), without penalizing programs that print a lot briefly (like
most curses applications). Helps a lot for me, the actual numbers may
need tweaking later.
Diffstat (limited to 'cmd-set-option.c')
0 files changed, 0 insertions, 0 deletions