Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Prompt coloring question



On 2008-07-12 at 23:43 +0200, Richard Hartmann wrote:
> for some reason, I am unable to invert the color red ($'%{\e[0;31m%}').
> This works with the other colors. Any idea what might cause this?

Define invert?  The sequence you provide is a reset to default and
normal red text, so you'll need to be clearer about what you want and
what you tried, instead of what you started from.

In my terminal (not the same as what you're using):
"negative image + red display", $'%{\e[7;31m%}' works for me.
"red background", $'%{\e[0;41m%}' works for me.

Regards,
-Phil



Messages sorted by: Reverse Date, Date, Thread, Author