Skip to content

Commit

Permalink
Merge pull request #15 from andy-maier/master
Browse files Browse the repository at this point in the history
Fixes #16: Clean out spinner character when done
  • Loading branch information
Yoav Ram authored Feb 6, 2017
2 parents df4442d + 51be1a0 commit f96c31a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions click_spinner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def init_spin(self):
sys.stdout.flush()
time.sleep(0.25)
sys.stdout.write('\b')
sys.stdout.flush()

def __enter__(self):
self.start()
Expand Down

0 comments on commit f96c31a

Please sign in to comment.