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

Reply via email to