summaryrefslogtreecommitdiff
path: root/usr.bin/comm
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-10 15:03:02 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-10 15:03:02 +0000
commit33523c91bd24172f9e9b0783e0d7c4aa44918a6d (patch)
tree14c582218ab3129af71ffcffa16d88ffafdd4b9f /usr.bin/comm
parent2123db726ea6524a385d93317144bab6cb592489 (diff)
Rather than running status-left, status-right and window title #() with popen
immediately every redraw, queue them up and run them in the background, starting each once every status-interval. The actual status line uses the output from the last run. This brings several advantages: - tmux itself may be called from inside #() without causing the server to hang; - likewise, sleep or similar doesn't cause the server to block; - commands aren't run excessively often when redrawing; - commands shared by status-left and status-right, or used multiple times, will only be run once. run-shell and if-shell still use system()/popen() but will be changed over to use this too later.
Diffstat (limited to 'usr.bin/comm')
0 files changed, 0 insertions, 0 deletions