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
produces raw ansi outputs on command prompt. This bug is seen from rich>=7.0.0. This happens to console.input() statements and not console.print() statements.
To Reproduce
I don't exactly know how to reproduce this outside of Manim. In manim just the command
manim basic.py
will show that error.
Platform
Windows 10.
Command Propmt.
rich>=7.0.0
(anything above v7).
The text was updated successfully, but these errors were encountered:
It looks like legacy windows doesn't like ansi in input() prompts. I'll have a workaround soon. In the meantime, the new Windows terminal should work just fine.
naveen521kk
changed the title
[BUG] Rich displays ascii on Windows on Console.input() statements
[BUG] Rich displays ansi on Windows on Console.input() statements
Oct 19, 2020
Describe the bug
Originally this is from ManimCommunity/manim#552
Manim is a project which uses rich for terminal output and as a logging handler.
Here,
console.input()
, athttps://github.com/ManimCommunity/manim/blob/3b6519a58678eb84bb31f550a0a4734df58bded3/manim/utils/module_ops.py#L95-L97
produces raw ansi outputs on command prompt. This bug is seen from
rich>=7.0.0
. This happens toconsole.input()
statements and notconsole.print()
statements.To Reproduce
I don't exactly know how to reproduce this outside of Manim. In manim just the command
will show that error.
Platform
Windows 10.
Command Propmt.
rich>=7.0.0
(anything above v7).
The text was updated successfully, but these errors were encountered: