Hi,

There is a kind of annoyance in the status bar behaviour.  I have a couple
scripts run from the status, e.g., battery life and wifi status.  I also
have 

set-option -g status-interval 2

so that these scripts get run fairly often (every 2 seconds).  

However, since this sucks up battery, I also have C-s bound to set-option -g
status in order to toggle the status on and off pretty quickly.

The problem: if I toggle the status on, it will list the *old* information
for 2 seconds until status-interval is met.  This is annoying because quite
often I like to quickly hit C-s to see the status info and then hit C-s to 
toggle status off.  

So!  Is there some sort of solution?  I thought, maybe, I could do something
like

bind C-s set-option -g status-interval 0 \; set-option -g status \; set-option 
-g status-interval 2

but this didn't seem to work.

Peter

-- 
sic dicit magister P
PhD Candidate
Collaborative Programme in Ancient and Medieval Philosophy
University of Toronto
http://individual.utoronto.ca/peterjh

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to