diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-06-12 21:08:20 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-06-12 21:08:20 +1200 |
commit | b55468fe09e8c2d26f3ae6e6573d1e390f52ee8f (patch) | |
tree | 9ff86b806c77c5e871ea588661341a2cf43b0b19 /example.py | |
parent | 657dfc1efb70a4eb97fc0518e43e13425ac01fd7 (diff) | |
download | ttystatus-b55468fe09e8c2d26f3ae6e6573d1e390f52ee8f.tar.gz |
Add ProgressBar to example program.
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ def main(): ts.add(ttystatus.Literal(' (')) ts.add(ttystatus.PercentDone('done', 'total', decimals=2)) ts.add(ttystatus.Literal(' done) ')) + ts.add(ttystatus.ProgressBar('done', 'total')) ts.add(ttystatus.Counter('symlink')) ts.add(ttystatus.Literal(' symlinks found')) ts['pathnames'] = pathnames |