add backstyle, but preserved the dynamic styling via conditions

pull/280/head
iaacornus 3 years ago
parent 010fa6d89d
commit f6f45a6fd4
No known key found for this signature in database
GPG Key ID: 281739AE7252598C

@ -22,7 +22,9 @@ def print_step(text):
console.print(panel) console.print(panel)
def print_substep(text): def print_substep(text, style_=None):
"""Prints a rich info message without the panelling.""" """Prints a rich info message without the panelling."""
if style_ is not None:
console.print(text, style=style_)
console.print(text) console.print(text)

Loading…
Cancel
Save