1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
Nicholas Marriott 6bca92db4d 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.
2009-10-10 15:03:01 +00:00
2009-10-07 07:02:40 +00:00
2009-08-20 10:48:25 +00:00
2009-07-19 13:21:40 +00:00
2009-09-20 14:58:12 +00:00
2009-09-20 14:58:12 +00:00
2009-09-20 14:58:12 +00:00
Description
No description provided
17 MiB
Languages
C 90.8%
Roff 6.9%
M4 0.9%
Awk 0.6%
Makefile 0.4%
Other 0.3%