On Tue, Mar 19, 2013 at 8:31 PM, Yotam Barnoy <yotambar...@gmail.com> wrote: > On OSX, if I open a tmux pane and my .bashrc happens to assign a color to > the prompt using the ANSI escape sequences (e.g. #PS1="\e[0;34m\h:\W\$ > \e[m"), I get an odd problem.
I am not sure I can duplicate your particular symptoms, but in general you should always wrap non-printing sequences in bash prompts with \[ and \]. Leaving them out makes bash thinks the prompt is longer than it really is (as displayed by the terminal), so it makes mistakes when it comes time to redraw the prompt. PS1="\[\e[0;34m\]\h:\W\$\[\e[m\]" -- Chris ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users