Yes it does. I see "1;1H" appear as text in some cases, which looks to be the termcap command to reset to column 1 row 1 on the screen. If that's not being processed correctly it would explain the status line being drawn incorrectly.
Here's my status-left and status-right lines (without e $() commands, hence some redundant color commands): > set-option -g status-left > "#[attr=normal]#[fg=colour5]#S#[fg=colour10]@#[fg=colour2]#h#[fg=colour10]│#[fg=colour13]#32T# > " > set-option -g status-right " > #[fg=colour6]#[fg=colour10]│#[fg=colour4]#[fg=colour10]│#[fg=colour2]#[fg=colour10]│#[fg=colour3]%H:%M > %a %d-%b %Z" With the $PROMPT_COMMAND below and these status lines I can hold enter in tmux and watch the status line crawl up the display. I put a screen shot up here: http://db.tt/nQwMra2N I worked around the issue by not issuing the PROMPT_COMMAND but it seems like a bug is hiding here somewhere. -Adrian On Nov 27, 2012, at 8:00 AM, Nicholas Marriott <nicholas.marri...@gmail.com> wrote: > Does this stop happening if you take away the #() from your > status-left/right? > > > On Wed, Nov 21, 2012 at 04:18:28PM -0800, Adrian Luff wrote: >> tmux should catch the escape sequence consistently but I seem to have >> found a race condition case where it doesn't. Adding... >> >> export PROMPT_COMMAND="${PROMPT_COMMAND}; printf '\e]2;%s\e\\' >> \"${HOSTNAME/.*}\"" >> >> to the bash shell while inside tmux causes the status line to be printed >> on the current output line occasionally (instead of below it). This is >> easily reproduced by holding ENTER down at a shell prompt. >> Simply removing the PROMPT_COMMAND fixes the issue. The complexity of the >> status line seems to be a factor as the basic tmux configuration doesn't >> exhibit this. My status line is configured with a couple of shell scripts. >> I suspect a race condition between the escape sequence handling and the >> return values from the status line scripts. >> .tmux.conf status line excerpt... >> >> set-option -g status-left >> >> "#[attr=normal]#[fg=colour5]#S#[fg=colour10]@#[fg=colour2]#h#[fg=colour10]***#[fg=colour4]#32T# >> " >> set-option -g status-right " >> >> #[fg=colour6]#(~/bin/tmux-mail)#[fg=colour10]***#[fg=colour4]#(~/bin/tmux-wifi)#[fg=colour10]***#[fg=colour2]#(~/bin/tmux-battery)#[fg=colour10]***#[fg=colour3]%H:%M >> %a %d-%b %Z" >> >> -Adrian > > > >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ >> tmux-users mailing list >> tmux-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tmux-users >
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users