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 Windows colors outside of Cargo #31

Closed
wants to merge 1 commit into from
Closed

Fix Windows colors outside of Cargo #31

wants to merge 1 commit into from

Conversation

WYLDYR
Copy link

@WYLDYR WYLDYR commented Jan 16, 2022

Cargo enables ANSI color support, so the ANSI colors work just fine when run with cargo run, but they will not work when run directly from the compiled executable. This is fixed by enabling ANSI color support with Windows API at the start of runtime.

@WYLDYR
Copy link
Author

WYLDYR commented Feb 1, 2022

Inactive

@WYLDYR WYLDYR closed this Feb 1, 2022
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.

None yet

1 participant