Skip to content
Myr

Made termui example fit into 79 column terms.

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 237606d · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:examples/termui/termui.py+1 added-1 removed
45 unmodified lines
46 for item in items:47 if random.random() > 0.3:48 yield item4950 with click.progressbar(items, label='Processing user accounts',50 with click.progressbar(items, label='Processing accounts',51 fill_char=click.style('#', fg='green')) as bar:52 for item in bar:53 process_slowly(item)54
91 unmodified lines