bug-bash
[Top][All Lists]
Advanced

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

Re: Screen Corruption when browsing Command History with Custom Prompt


From: Ashley Wilson
Subject: Re: Screen Corruption when browsing Command History with Custom Prompt
Date: Wed, 10 Sep 2008 05:35:52 +1000

On Wed, Sep 10, 2008 at 3:02 AM, Matthew Woehlke
<mw_triad@users.sourceforge.net> wrote:
> Ashley Wilson wrote:
>>
>> No, Wait! That's not the issue!! This works just fine:
>>
>>         PS1="\n\[\e[0;32m\]\u: \w\n# \[\e[m\]"
>>
>> So, all I had to do was to add '\[' before and '\]' after the coloring
>> sequence to fix everything!
>
> Of course it works; this is exactly what Chet was trying to tell you.
>
> --
> Matthew
> ENOCOFFEE: operator suffering from lack of sleep and/or early-morning-itis
>

Yes, I realize that now.

    Thanks Mathew, Chet.

--
Regards,
 Ashley.




reply via email to

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