Rich is a Python library for rich text and beautiful formatting in the terminal.
MIT License
Bot releases are hidden (Show)
Published by willmcgugan about 4 years ago
Major version bump for a breaking change to Text.stylize
signature, which corrects a minor but irritating API wart. The style now comes first and the start
and end
offsets default to the entire text. This allows for text.stylize_all(style)
to be replaced with text.stylize(style)
. The start
and end
offsets now support negative indexing, so text.stylize("bold", -1)
makes the last character bold.
Published by willmcgugan over 4 years ago
New rich.prompt functionality.
Progress bars are now usable when NO_COLOR env var is set.
Published by willmcgugan over 4 years ago
Published by willmcgugan over 4 years ago
__bool__
on Segmentborder_style
argument to Panel (note, style
now applies to interior of the panel)### Added
Published by willmcgugan over 4 years ago
A new major version due to changes to Rule and Panel constructor, and Table.add_column
method. This is unlikely to break anyones code but semver mandates a major version bump.
Otherwise, the highlight of this release is that legacy Windows supports a greater range of box characters for Table / Panel etc.
safe_box
flagstyle
parameter for highlight_regex
to be a callable that returns a style