Changelog:
===========
- Added support for Python 3.13
- Fixed infinite loop when appending Text to same instance
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed
--------
- Fixed Table rendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body.
- Fixed styles in Panel when Text objects are used for title
- Fix pretty repr for collections.deque
- Thread used in progress.track will exit if an exception occurs in a generator
- Progress track thread is now a daemon thread
- Fixed cached hash preservation upon clearing meta and links
- Fixed overriding the background_color of Syntax not including padding
- Fixed pretty printing of dataclasses with a default repr in Python 3.13
- Fixed selective enabling of highlighting when disabled in the Console
- Fixed BrokenPipeError writing an error message
- Fixed superfluous space above Markdown tables
- Fixed issue with record and capture interaction
- Fixed control codes breaking in append_tokens
- Fixed exception pretty printing a dataclass with missing fields
Changed
----------
- RichHandler errors and warnings will now use different colors (red and yellow)
- Removed the empty line printed in jupyter while using Progress
- Running tests in environment with FORCE_COLOR or NO_COLOR environment variables
- ansi decoder will now strip problematic private escape sequences (like \x1b7)
- Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes
Added
---------
- Adds a case_sensitive parameter to prompt.Prompt. This determines if the
- response is treated as case-sensitive. Defaults to True.
- Added Console.on_broken_pipe
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python 2 is long unsupported, so we no longer need this variable.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Adds missing parameters to Panel.fit
-Some text goes missing during wrapping when it contains double width characters
-Ensure font is correctly inherited in exported HTML
-Fixed typing for FloatPrompt.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fixed
--------
Fixed Text.expand_tab assertion error
Fix tilde character (~) not included in link regex when printing to console #3057
Fixed Text.expand_tabs not expanding spans.
Fixed TimeElapsedColumn from showing negative.
Fix for escaping strings with a trailing backslash #2987
Fixed exception in Markdown with partial table #3053
Fixed the HTML export template so that the <html> tag comes before the <head> tag #3021
Fixed issue with custom classes overwriting __eq__ #2875
Fix rich.pretty.install breakage in iPython #3013
Added
--------
Added Text.extend_style method.
Added Span.extend method.
Changed
----------
Text.tab_size now defaults to None to indicate that Console.tab_size should be used.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fixed typing extensions import in markdown #2979
Added support for tables in Markdown #2977
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Rich is a Python library for rich text and beautiful formatting in the
terminal.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>