Re: %C(auto) not working as expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]