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

fix(ioconfig): disable color when TERM is dumb #163

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Commits on Jan 26, 2024

  1. fix(ioconfig): disable color when TERM is dumb

    Chalk output previously contained color when the `TERM` environment
    variable had the value `dumb`. Disable color for that situation.
    
    Chalk already correctly disabled color when:
    
    - The user passes `--no-color` [1], For example:
    
         `chalk version --no-color`
    
    - The `NO_COLOR` environment variable is set. For example:
    
         `NO_COLOR=1 chalk version`
    
    - stdout is not a tty. For example:
    
         `chalk version > /tmp/version.txt`
    
    Closes: #162
    
    [1] See also https://no-color.org/
    ee7 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    00a6271 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    371667c View commit details
    Browse the repository at this point in the history