We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import colorama from contextlib import contextmanager b = "type: <\x1b[39m\x1b[38;5;100mclass\x1b[39m\x1b[38;5;245m \x1b[39m\x1b[38;5;166m'\x1b[39m\x1b[38;5;32mdict\x1b[39m\x1b[38;5;36m'\x1b[39m\x1b[38;5;36m>\x1b[39m" @contextmanager def supportTerminalColorsInWindows(): colorama.init() yield colorama.deinit() print(b) with supportTerminalColorsInWindows(): print(b)
Running the above code gives an unexpected result shown below on both PowerShell and CMD.
The text was updated successfully, but these errors were encountered:
I cannot reproduce with colorama 0.4.6 (from pip), Python 3.12.5, PowerShell 7.4.6, Windows Terminal 1.21.3231, Windows 10 19045.5371 64-bit.
Sorry, something went wrong.
No branches or pull requests
Running the above code gives an unexpected result shown below on both PowerShell and CMD.
The text was updated successfully, but these errors were encountered: