Re: Weird space after the prompt

2011-07-28 Thread Nicholas Marriott
you probably had LC_ALL or LC_CTYPE set but incorrectly, they will override LANG. On Thu, Jul 28, 2011 at 12:14:32PM +0200, Federico Maggi wrote: > On Jul 28, 2011, at 12:07 PM, Nicholas Marriott wrote: > > > Are you sure you have UTF-8 enabled in tmux? Check tmux lsc and tmux > > showw -g|grep u

Re: Weird space after the prompt

2011-07-28 Thread Federico Maggi
On Jul 28, 2011, at 12:07 PM, Nicholas Marriott wrote: > Are you sure you have UTF-8 enabled in tmux? Check tmux lsc and tmux > showw -g|grep utf8. for some reason I assumed that LANG sufficed. Once exported LC_ALL="UTF8" as well, everything started to work. Thanks. Cheers, -F -

Re: Weird space after the prompt

2011-07-28 Thread Nicholas Marriott
Can you send screenshots of what the prompt looks like in tmux and outside? Video is much less useful. I see the same inside both tmux and uxterm, possibly both think the arrow is a double width character which would be wrong. Are you sure you have UTF-8 enabled in tmux? Check tmux lsc and tmux s

Re: Weird space after the prompt

2011-07-28 Thread Federico Maggi
On Jul 28, 2011, at 1:08 AM, Nicholas Marriott wrote: > Your prompt has a UTF-8 character \342\207\222 which appears to be some > sort of arrow. it is indeed an arrow, but before that, an equal sign is displayed. However, the video that I posted shows that this arrow is perfectly visible. >

Re: Weird space after the prompt

2011-07-27 Thread Nicholas Marriott
Your prompt has a UTF-8 character \342\207\222 which appears to be some sort of arrow. I guess the font you are using is not capable of displaying it, so it appears as a blank space. Either the zsh theme omits it from the prompt outside tmux or (less likely) the terminal is eating it. On Thu, J

Re: Weird space after the prompt

2011-07-27 Thread Federico Maggi
On Wed, Jul 27, 2011 at 15:02, Nicholas Marriott wrote: > What do you have in PS1? %{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}=>%{$reset_color%} from: * https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/miloshadzic.zsh-theme > Plea

Re: Weird space after the prompt

2011-07-27 Thread Nicholas Marriott
Screenshots would have been better than watching you typing for something as simple as this. What do you have in PS1? Please run script(1) then hit enter a couple of times to show your prompt then exit script and send the typescript file. On Tue, Jul 26, 2011 at 09:43:13PM +0200, Federico Maggi

Weird space after the prompt

2011-07-26 Thread Federico Maggi
Hello, I've noticed the following weird behavior recently: * http://screencast.com/t/D66QYU2PEh6 Does anyone have any idea about what it can be? I've emptied the ~/.tmux.conf file just in case. I can share my dotfiles if needed. Thanks, -F -