You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
Currently, the win32 wrapper for stdout and stderr is installed when the python interpreter runs on a Windows machine. But, this check isn't appropriate to determine whether the terminal supports the ANSI codes. This leads to the effect, that if you use Python inside a proper ANSI terminal on windows, e.g., an MSYS environment, the output is incorrect, because all ANSI codes are stripped.
The above mentioned check should instead determine, if the current terminal supports ANSI codes.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, the win32 wrapper for
stdout
andstderr
is installed when the python interpreter runs on a Windows machine. But, this check isn't appropriate to determine whether the terminal supports the ANSI codes. This leads to the effect, that if you use Python inside a proper ANSI terminal on windows, e.g., an MSYS environment, the output is incorrect, because all ANSI codes are stripped.The above mentioned check should instead determine, if the current terminal supports ANSI codes.
The text was updated successfully, but these errors were encountered: