commit | 4ebfd53de03599b73838ee339e47652ac26c37c0 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Fri Sep 15 17:24:26 2023 -0600 |
committer | Tom Tromey <tom@tromey.com> | Fri Sep 29 10:55:43 2023 -0600 |
tree | 5990de5f860d32aa252dfb7564fbbb56179f737c | |
parent | 2677a57064afd32076b85295bdc11de6e75e7e36 [diff] |
Support the NO_COLOR environment variable I ran across this site: https://no-color.org/ ... which lobbies for tools to recognize the NO_COLOR environment variable and disable any terminal styling when it is seen. This patch implements this for gdb. Regression tested on x86-64 Fedora 38. Co-Authored-By: Andrew Burgess <aburgess@redhat.com> Reviewed-by: Kevin Buettner <kevinb@redhat.com> Reviewed-By: Eli Zaretskii <eliz@gnu.org> Approved-By: Andrew Burgess <aburgess@redhat.com>