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
Describe the bug
On Git Bash's Terminal (Mintty), nothing is printed when run with rich==12.0.0
I think this isn't an expected behaviour right? Seeing #988 and #330, it says Git Bash's terminal isn't a real terminal and can't print colours (which is fine), but not printing anything isn't.
The test script I used is really a Hello World script.
fromrichimportprintprint('Hello World')
Also, I noticed when running the same script through subprocess and checking for the output (consider the script below)
Again, the stdout contains only b'' (an empty string). This happens even when using cmd.
I initially noticed this when tests for the version printing on Manim started to fail ManimCommunity/manim#2630 (comment).
I think both these are related to each other and caused because of replacing Colorama.
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
I'm using Windows 11, Git Bash
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
python -m rich.diagnose
pip freeze | grep rich
1st command: Prints nothing (that's literally the issue here)
2nd command:
❯ pip freeze | grep rich
rich==12.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug

On Git Bash's Terminal (Mintty), nothing is printed when run with
rich==12.0.0
I think this isn't an expected behaviour right? Seeing #988 and #330, it says Git Bash's terminal isn't a real terminal and can't print colours (which is fine), but not printing anything isn't.
The test script I used is really a Hello World script.
Also, I noticed when running the same script through subprocess and checking for the output (consider the script below)
Again, the stdout contains only

b''
(an empty string). This happens even when usingcmd
.I initially noticed this when tests for the version printing on Manim started to fail ManimCommunity/manim#2630 (comment).
I think both these are related to each other and caused because of replacing Colorama.
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
I'm using Windows 11, Git Bash
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
1st command: Prints nothing (that's literally the issue here)
2nd command:
The text was updated successfully, but these errors were encountered: