add tee thing
This commit is contained in:
parent
4241cf5260
commit
f79b8b5d4d
|
@ -0,0 +1 @@
|
||||||
|
terminaltexteffects==0.11.0
|
|
@ -0,0 +1,20 @@
|
||||||
|
from terminaltexteffects.effects.effect_burn import Burn
|
||||||
|
text = """
|
||||||
|
Beautiful is better than ugly.
|
||||||
|
Explicit is better than implicit.
|
||||||
|
Beautiful is better than ugly.
|
||||||
|
Beautiful is better than ugly.
|
||||||
|
Beautiful is better than ugly.
|
||||||
|
Beautiful is better than ugly.
|
||||||
|
Beautiful is better than ugly.
|
||||||
|
Explicit is better than implicit.
|
||||||
|
Explicit is better than implicit.
|
||||||
|
Explicit is better than implicit.
|
||||||
|
Explicit is better than implicit.
|
||||||
|
Explicit is better than implicit.
|
||||||
|
"""
|
||||||
|
effect = Burn(text)
|
||||||
|
with effect.terminal_output() as terminal:
|
||||||
|
for frame in effect:
|
||||||
|
terminal.print(frame)
|
||||||
|
|
Loading…
Reference in New Issue