summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authornicm <nicm>2016-09-16 13:43:41 +0000
committernicm <nicm>2016-09-16 13:43:41 +0000
commiteb50e7a2c87ed8c18f2944e0082e961acb70765b (patch)
tree980730cb291256386e94ecb929c04631f062d9c0 /options.c
parent2e5584c2b41df1c1b836c3229ea78f8ea3d81054 (diff)
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 'options.c')
0 files changed, 0 insertions, 0 deletions