bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctrl+r + left cursor + multiline PS1 = wrong cursor displaying


From: Benno Schulenberg
Subject: Re: ctrl+r + left cursor + multiline PS1 = wrong cursor displaying
Date: Sat, 21 Jul 2007 11:05:27 +0200
User-agent: KMail/1.9.7

Xuefer wrote:
> Bash Version: 3.2
> Patch Level: 15
>
> expected: cursor moves in the range of "echo abc", and the[n] beyond "c"
> actually: cursor moves in the range of "$ echo ab" (including b)

Please try again with patch level 17.  With bash-3.2.17 I cannot 
reproduce that behaviour here.

> Repeat-By:
>       $ PSCOLOR=36
>       $ export PS1='\[\e['$PSCOLOR'address@hidden \[\e[34m\]\w\n\$\[\e[0m\] '
>       $ echo abcdefg
>       $ <CTRL-r>
>       (reverse-i-search)`': abc<left>

Benno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]