On Mon, Apr 13, 2009 at 05:50:52PM -0400, Chet Ramey wrote:
> >
> > My PS1, which causes the issue, is:
> >
> > PS1='[\[\033[01;32m\]\u \[\033[01;31m\]- \[\033[01;34m\]\w\[\033[00m\]]$ '
>
> Sorry, I still can't reproduce it. Can you send a series of steps that
> you use to reproduce the proble
On Mon, Apr 13, 2009 at 17:48:57 -0400, Chet Ramey wrote:
> Try the attached patch and let me know how it works.
Works perfectly here, too :)
Thanks a lot for the quick fix.
Matt Zyzik wrote:
>> If, as seems likely, this is a problem with the calculation of the physical
>> cursor position, a good place to start would be your PS1 and PROMPT_COMMAND
>> (if any). The locale you're using would be good, too.
>>
>> Chet
>
> My PS1, which causes the issue, is:
>
> PS1='[\[
Nicolai Lissner wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
> -DCONF_VENDOR='u