Replies: 1 comment 1 reply
-
There is a Padding class, but that only uses spaces. I didn't occur to me that anyone would want to pad with anything else. However, a from rich.console import Console
console = Console()
console.rule("[b]Hello, World", characters="*-") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I' have just discovered this awesome library, so i was just trying to incorporate this into on of my projects. I would like to know to how to justify strings with a particular fill/padding character other than the default space.
Currently, my code is like this:
This works as expected and gives the result "Hello World!" padded with space. But how do i get it padded with some other character?
Beta Was this translation helpful? Give feedback.
All reactions