aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-11 23:55:26 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-11 23:55:26 +0000
commitbc236109fd8b858f1bfd7e4b9c5d5e493bdd1563 (patch)
treee9f9eab7bc648d160904421f6e7f756b4efef557 /cmd.c
parent07ad6da7e826db31f3de174c0036f0e0400f9207 (diff)
downloadrtmux-bc236109fd8b858f1bfd7e4b9c5d5e493bdd1563.tar.gz
rtmux-bc236109fd8b858f1bfd7e4b9c5d5e493bdd1563.tar.bz2
rtmux-bc236109fd8b858f1bfd7e4b9c5d5e493bdd1563.zip
Sync OpenBSD patchset 374:
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 'cmd.c')
0 files changed, 0 insertions, 0 deletions