Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: random attribute stuff
- X-seq: zsh-workers 24961
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: random attribute stuff
- Date: Wed, 07 May 2008 16:55:52 +0100
- In-reply-to: <30463.1210175361@thecus>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200805060915.m469FeJP017551@xxxxxxxxxxxxxx> <080506073442.ZM22499@xxxxxxxxxxxxxxxxxxxxxx> <200805061442.m46Eg7bN000588@xxxxxxxxxxxxxx> <080506075838.ZM1161@xxxxxxxxxxxxxxxxxxxxxx> <200805061510.m46FA71C001035@xxxxxxxxxxxxxx> <080506083802.ZM1323@xxxxxxxxxxxxxxxxxxxxxx> <200805061548.m46Fmq2X013524@xxxxxxxxxxxxxx> <20080506191611.79fdf69a@news01> <30463.1210175361@thecus>
Oliver Kiddle wrote:
> Given that zsh now has internal knowledge that "green" is ESC [32m and
> so on, would it be wise to allow this in prompt escapes: %A{fg=green}
> perhaps?
Yes, something along those lines is likely to happen.
> Support for more than 16 colours would also be good.
You can use up to 256 if you use the number.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author