bug-bash
[Top][All Lists]
Advanced

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

Re: Multiline prompt problems with long commands


From: Kamil Neczaj
Subject: Re: Multiline prompt problems with long commands
Date: Tue, 4 Nov 2014 15:48:28 +0100

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 <address@hidden>:

> 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;address@hidden;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    address@hidden
> http://cnswww.cns.cwru.edu/~chet/
>


reply via email to

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