Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt coloring question
- X-seq: zsh-users 13022
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- Subject: Re: Prompt coloring question
- Date: Sat, 12 Jul 2008 19:23:42 -0700
- Cc: Zsh Users <zsh-users@xxxxxxxxxx>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=d200803; d=spodhuis.org; h=Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=aji2rjOhvSf4R5xtS2tZTY4R3uFWylHfWKD71WMtMRZQIWwQ3u1pPpiv+ON/w/SxgmQYpEFZoI5D7mhBKIb0lHZiPBzBcDxs5zqCx/7rPluv1atTWn4MxDZvRTmB0scoxQnn46FjRkPzy6N9j2PFUnxPXGCsWAIRaick5aKf7gY=;
- In-reply-to: <2d460de70807121443s1affa065n5451a763a4e70374@xxxxxxxxxxxxxx>
- Mail-followup-to: Richard Hartmann <richih.mailinglist@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70807121443s1affa065n5451a763a4e70374@xxxxxxxxxxxxxx>
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