Skip to content

Check for the COLORTERM environment variable in addition to MICRO_TRUECOLOR #1127

@Calinou

Description

@Calinou

micro's system integration and out-of-the-box experience could be improved if the COLORTERM environment variable was checked for true color support. Many other CLI applications and color libraries already support it; they will enable true color when it is set to truecolor or 24bit (case-sensitive). This way, only one variable needs to be set to enable true color in all applications following this informal standard.

MICRO_TRUECOLOR should remain for compatibility and should take priority over COLORTERM if it is set to a different value (so that it can override the global preference).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions