Hello, Thank you for your response! I modified this prompt couple of times, probably that's why it's like this. Anyway, I don't think this should cause the problem. The PS1 variable is the one I use. I wanted to copy it here to have exactly the example which I know that causes problems for sure.
Regards, Kamil Neczaj 2014-11-04 15:06 GMT+01:00 Chet Ramey <chet.ra...@case.edu>: > 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 c...@case.edu > http://cnswww.cns.cwru.edu/~chet/ >