Follow-up Comment #4, bug #67947 (group groff):

Further inspiration/momentum, from the _jq_ project:


commit 633ae6058a05b0240c798f6b7b60d3b0a87cab8e
Author: Dmitri Vereshchagin <[email protected]>
Date:   Fri Oct 16 15:50:47 2026 +0300

    Disable colored output on a dumb terminal (#3552)
    
    Enable colored output by default only when the TERM environment variable
    is set to a value other than dumb, as git and grep do, so that users no
    longer need to pass -M or set NO_COLOR on terminals that cannot display
    escape sequences. Colored output is now disabled not only for TERM=dumb
    but also when TERM is unset or empty. The -C option still enables colors
    in all these cases. On Windows, colored output is still decided by
    ANSICON and the console mode, and TERM is not checked.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67947>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to