Skip to content

Commit f96c31a

Browse files
author
Yoav Ram
authored
Merge pull request #15 from andy-maier/master
Fixes #16: Clean out spinner character when done
2 parents df4442d + 51be1a0 commit f96c31a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

click_spinner/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def init_spin(self):
3030
sys.stdout.flush()
3131
time.sleep(0.25)
3232
sys.stdout.write('\b')
33+
sys.stdout.flush()
3334

3435
def __enter__(self):
3536
self.start()

0 commit comments

Comments
 (0)