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(colors): treat no-color mode as no-color instead of narratable #94

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

zkat
Copy link
Owner

@zkat zkat commented Nov 16, 2021

This is a start, but I still want to add an environment variable to force "plaintext" mode. Maybe just "MIETTE_PLAINTEXT" or "PLAINTEXT_ERRORS"?

I'll sleep on it. Any opinions are welcome, tho.

Note that this PR is a breaking change, because some users possibly rely on this behavior to even be able to read their output.

@zkat zkat force-pushed the zkat/no-color-only-no-color branch from 9dcdeac to f5fdadc Compare January 8, 2022 17:05
Fixes: #93

BREAKING CHANGE: NO_COLOR no longer triggers the narrated handler. Use
NO_GRAPHICS instead.
@zkat zkat force-pushed the zkat/no-color-only-no-color branch from f5fdadc to d714b57 Compare January 8, 2022 17:06
@zkat zkat merged commit 9dcce5f into main Jan 8, 2022
@zkat zkat deleted the zkat/no-color-only-no-color branch January 8, 2022 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant