Textualize / rich

Rich is a Python library for rich text and beautiful formatting in the terminal.
https://rich.readthedocs.io/en/latest/
MIT License
49.69k stars 1.73k forks source link

[BUG]In the latest versions rich "Title" without color #3569

Open snooppr opened 5 days ago

snooppr commented 5 days ago

rich v 13.0.1 Title is painted over, see screenshot rich v13.9.4r Title unpainted, see screenshot

OS GNU/Linux and OS Windows

from rich.console import Console
from rich.panel import Panel
from rich.style import Style
import os

console = Console()
console.print(Panel(str(os.environ), title='[bold white]Title[/bold white]', style=Style(color="white", bgcolor="blue")))

rich Title should be like on the first screen (white on blue), in the second case (updated rich) white on dark (bug?)

github-actions[bot] commented 5 days ago

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory