Skip to content

should_colorize from colored package #95

@eendebakpt

Description

@eendebakpt

The colored package contains functionality to enable or disable colors using environment variables. Usage is roughly:

use colored::control::SHOULD_COLORIZE;
....
SHOULD_COLORIZE.should_colorize()

The implementation is here: https://github.com/mackwic/colored/blob/master/src/control.rs#L100

Can we control the coloring for owo-colors using environment variables?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions