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

fmt: call nu_ansi_term::enable_ansi_support for windows #3079

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaffarell
Copy link
Contributor

To correctly enable the ansi output, we need to call nu_ansi_term::enable_ansi_support on windows before outputting ansi characters.

Fixes: #3068

Disclaimer: I know this is not clean at all, and I have most likely missed places where we need to enable this, but I haven't found a better option.

To correctly enable the ansi output, we need to call
`nu_ansi_term::enable_ansi_support` on windows before outputting ansi
characters.

Fixes: tokio-rs#3068
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.

When ANSI is enabled, nu_ansi_term::enable_ansi_support() should be called on Windows
1 participant