Replies: 1 comment
-
from rich.panel import Panel
from rich.rule import Rule
from rich.console import Group
from rich import print
p = Panel(
Group(
"Hello",
Rule(),
"World"
)
)
print(p) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I see I can print a rule via the console, but is there a way to have a rule inside a panel to break a panel up into parts?
Beta Was this translation helpful? Give feedback.
All reactions