From: Jan Larres <jan@ma...> - 2013-09-16 02:19:21
I recently figured out why my terminal would regularly freeze for a
split-second. The culprit seems to be some kind of leak in the code for
calling external programs in the statusline. If I have a call to an
external program there and start a new tmux server, everything runs
smoothly. But over the course of one-two weeks tmux starts introducing
short pauses every time the statusline updates, which is quite annoying
especially when scrolling. These pauses seem to be unrelated to the
duration of the execution of the program, even a simple #(date) triggers
it. Removing the call from the statusline of a running tmux also removes
the pauses, but putting the command back restores the pauses. The
problem seems to be server-wide, new sessions have the same pauses. Only
starting a new server with the -L option gets rid of them. But since I
usually have a lot of sessions with important state running all the time
this isn't really feasible to do regularly.
Note that I'm using a status-interval of 1.