Re: %C(auto) not working as expected
- From
Tom Hale <tom@hale.ee>
- Date
- Oct 9, 2016, 10:04 UTC
- Message-ID
- <65d8def3-df62-6c45-7d8f-79b6a8769bf5@hale.ee>
- In-Reply-To
- <f35965e9-2901-b9b5-92e5-9bc7fe673637@web.de>
On 2016-10-09 13:47, René Scharfe wrote:
> %Cgreen emits color codes unconditionally. %C(auto,green) would respect > the config settings.
Thanks, I've never seen the (,) syntax documented before!
What's strange is that this works: %C(auto,green bold) but %C(auto,green,bold) does not.
Also: Given it's very rare to want only part of a string to emit colour codes, if something like "bold" carries through until a "no-bold", why doesn't "auto" do the same thing?
-- Tom Hale