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 ------------------------------------------------------------------------------ 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