On 11/3/14 6:50 PM, Kamil Neczaj wrote:
> Bash Version: 4.3
> Patch Level: 30
> Release Status: release
>
> Description:
> When using multiline prompt and entering a long command, the part
> which doesn't fit and should be moved to a
> new line is actually move to the beginning of the same line which makes the
> command unreadable.
>
> Repeat-By:
> 1. Set e.g. PS1="\n\[\033[01;32m\]\u@\h\[\033[01;34m\]
> \w\[\033[01;33m\]\n\n\033[01;31m\]-------------> \[\e[0m\]"
^^^^^^^^^^^
|||||||||||
Before I look at this, why is this sequence not marked as invisible?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/