rich/examples/padding.py
2020-09-13 13:12:34 +01:00

5 lines
132 B
Python

from rich import print
from rich.padding import Padding
test = Padding("Hello", (2, 4), style="on blue", expand=False)
print(test)