[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Readline redisplay bug with long prompt
From: |
Chet Ramey |
Subject: |
Re: Readline redisplay bug with long prompt |
Date: |
Thu, 11 Dec 2008 22:02:13 -0500 |
User-agent: |
Thunderbird 2.0.0.18 (Macintosh/20081105) |
Andreas Schwab wrote:
> Bash Version: 3.2
> Patch Level: 48
> Release Status: release
>
> Description:
> Redisplay fails if the prompt wraps around and contains invisible
> characters after the wrap point.
>
> Repeat-By:
> (assuming 80 column display)
> $
> PS1='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\$\[\033[0m\]
> '
> Cycle back and forth through the history. Eventually readline
> miscounts the four invisible characters at the end of the prompt.
Thanks for the report. This will be fixed in the next version.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/