- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 126
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
NO_COLOR is printing ansi in non-terminals #380
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
Boshen
added a commit
to oxc-project/oxc
that referenced
this issue
Jun 11, 2024
Loading
Loading status checks…
closes #3539 upstream issue zkat/miette#380
Boshen
added a commit
to oxc-project/oxc
that referenced
this issue
Jun 11, 2024
Loading
Loading status checks…
closes #3539 upstream issue zkat/miette#380
yeah uh, that seems like a bug. |
Boshen
added a commit
to Boshen/miette
that referenced
this issue
Jun 11, 2024
Loading
Loading status checks…
closes zkat#380
Boshen
added a commit
to Boshen/miette
that referenced
this issue
Jun 11, 2024
Loading
Loading status checks…
closes zkat#380
Boshen
added a commit
to oxc-project/oxc-miette
that referenced
this issue
Oct 27, 2024
…inals (#381) Fixes: zkat/miette#380
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Background: oxc-project/oxc#3539
miette/src/handlers/theme.rs
Lines 72 to 75 in b82cc81
When it's non-terminal,
Self::ascii()
miette/src/handlers/theme.rs
Lines 25 to 31 in b82cc81
still uses ansi colors.
If the intention of
NO_COLOR
is to always not print ansi color codes, I can PR a change toGraphicalTheme::none()
.The text was updated successfully, but these errors were encountered: