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
10.13.0
Added
Added json.dumps parameters to print_json Textualize/rich#1638
Fixed
Fixed an edge case bug when console module try to detect if they are in a tty at the end of a pytest run
Fixed a bug where logging handler raises an exception when running with pythonw (related to https://bugs.python.org/issue13807)
Fixed issue with TERM env vars that have more than one hyphen Textualize/rich#1640
Fixed missing new line after progress bar when terminal is not interactive Textualize/rich#1606
Fixed exception in IPython when disabling pprint with %pprint Textualize/rich#1646
Fixed issue where values longer than the console width produced invalid JSON Textualize/rich#1653
Fixes trailing comma when pretty printing dataclass with last field repr=False Textualize/rich#1599
Changed
Markdown codeblocks now word-wrap
Read the docs
✔️ : You might find a solution to your problem in the docs -- consider using the search function there.
Describe the bug
print_json
produces invalid JSON when input includes values wider than console:To Reproduce
repro.py:
Platform
Reproduced in alacritty on macOS and Arch.
Diagnose
diagnose
:_windows
:Did I help?
If I was able to resolve your problem, consider sponsoring my work on Rich, or buy me a coffee to say thanks.
The text was updated successfully, but these errors were encountered: