|
From: | Matthew Woehlke |
Subject: | Re: Screen Corruption when browsing Command History with Custom Prompt |
Date: | Tue, 09 Sep 2008 12:02:32 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.16) Gecko/20080723 Fedora/2.0.0.16-1.fc9 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |