Skip to content
Myr

Updated termui script to also have a clear command.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 09ba1e9 · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:examples/termui/termui.py+6 added
69 unmodified lines
70 fill_char=Fore.BLUE + u'█' + Fore.RESET,71 empty_char=' ') as bar:72 for item in bar:73 process_slowly(item)747576@cli.command()77def clear():78 """Clears the entire screen."""79 click.clear()