-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
traceback formatting does not seem to work on windows powershell #59
Comments
interestingly it works in the newest release of windows terminal: |
By default powershell and windows terminal use different fonts. (Powershell uses Lucida Console and Windows Terminal uses Consolas). Changing your powershell font to Consolas may help. To change the font right-click the window's titlebar > Properties > Font |
Thakns for the reply. Changing the font does not change the output for traceback which includes strange characters and lack of color. My workaround for now is using the windows terminal (which runs powershell)... not sure how I would debug this in any case. |
same problem in pycharm terminal |
I think it was an issue with colorama not being initialized. Please try v1.0.2 |
Yes works with v1.0.2 thanks! At least for powershell, i'm not sure about pycharm. |
Using the newest install from pip and Powershell 5.1 or 7.1 i get the following output on my windows 10 pc:
running a command such as
rich.print("[blue]Hi[/blue]")
work as expected.
The text was updated successfully, but these errors were encountered: