[self-follow-up to clarify]

At 2025-06-03T22:08:31-0500, G. Branden Robinson wrote:
> I think it's probably better to query the terminal (or the terminal
> information database) to find out about its support for colors.
> 
> That in turn would depend on the much-delayed Savannah #63583.
> 
> https://savannah.gnu.org/bugs/?63583
> 
> But I don't want to gate this patch on that one, so I'm inclined to
> merge your patch and then take the `-t` flag back out,

I mean after I (finally) integrate the terminfo support patch.  Before
then, I suspect it's a bad idea to remove the `-t` option and the
conditionals it controls, because some terminals support SGR 30-37 and
40-47 escape sequences, some support SGR 38 and 48 (which your patch
makes grotty capable of emitting), and some support neither.  ECMA-48
devices are supposed to gracefully ignore well-formed escape sequences
they don't support, but of course some don't do that, either, and barf
valid but unsupported escape sequences to the display's character cells.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to