-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Disable Colors on Windows unless ENABLE_VIRTUAL_TERMINAL_PROCESSING is set #86
Comments
You can disable colors. Please use the option |
Does that work for you? |
I understand that option, but the default shouldn't be true without getopt. It should be a detected value. It only makes this tool unusable out of the box unless people know how to ignore the escape sequences. |
I must admit Windows support is not great in |
Raised a PR #87 |
Thank you! |
Closing the issue. Need to wait for the relevant patch in |
The ANSI sequences/colors only work when enabled within a process on Windows.
To do that, one has to roughly do the equivalent of:
and then call print() in Python. I know that pywin32 supports calling these functions, but as of now, these specific functions are not implemented yet in an available whl/release.
So, you'd have to set them yourself for it to work across Win32. The other option is disable colors on Windows till this is implemented.
I'm just reporting this so this can be useful to folks like me. :)
The text was updated successfully, but these errors were encountered: