Skip to content

feat(part): add NO_COLOR env support for windows terminal #254

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

L-Chao
Copy link
Contributor

@L-Chao L-Chao commented May 14, 2025

add NO_COLOR environment variable support for windows terminal

@L-Chao
Copy link
Contributor Author

L-Chao commented May 14, 2025

Add support for NO_COLOR environment variable to disable ANSI output on Windows, tested on powershellcmd and git bash

Copy link
Member

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@djc djc merged commit 1d47462 into console-rs:main May 14, 2025
15 checks passed
@L-Chao L-Chao deleted the fix_issue#252 branch May 15, 2025 03:13
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.

2 participants