Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: support NO_COLOR environment variable #102

Merged
merged 1 commit into from
Oct 24, 2023
Merged

src: support NO_COLOR environment variable #102

merged 1 commit into from
Oct 24, 2023

Commits on Oct 24, 2023

  1. src: support NO_COLOR environment variable

    NO_COLOR is a de-facto standard environment variable for disabling
    colors, see [1]:
    
    > Command-line software which adds ANSI color to its output by default
    > should check for a NO_COLOR environment variable that, when present and
    > not an empty string (regardless of its value), prevents the addition of
    > ANSI color.
    
    The patch disables coloring when NO_COLOR is not empty.
    
    1. https://no-color.org/
    ligurio committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    d5a5529 View commit details
    Browse the repository at this point in the history