Skip to content

Unable to force color when tty detection is inaccurate or undesired #921

@jasonkarns

Description

@jasonkarns

Automatic color detection is nice most of the time, when it works.

But users need a way to force color when tty detection is inaccurate, or when color is still desired despite tty.

Presently, Thor does not allow COLOR or FORCE_COLOR environment variables to override the tty detection.

The desired goal for our use case is to get color output on CircleCI. It supports color output and renders it. But all of our thor-powered utilities refuse to print color because they believe the output isn't going to a TTY.

more information: https://force-color.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions