rich/examples/padding.py

6 lines
132 B
Python
Raw Permalink Normal View History

2020-09-12 13:31:04 +00:00
from rich import print
from rich.padding import Padding
2020-09-13 12:12:34 +00:00
2020-09-12 13:31:04 +00:00
test = Padding("Hello", (2, 4), style="on blue", expand=False)
print(test)