We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d666956 commit aaa1904Copy full SHA for aaa1904
halo/halo.py
@@ -543,8 +543,8 @@ def start(self, text=None):
543
# to avoid possible overriding in subclasses.
544
if all(inst._stopped for inst in Halo._instances):
545
Halo._instances[:] = []
546
+ # Allow for calling start() multiple times
547
if self not in Halo._instances:
- # Allow for calling start() multiple times
548
Halo._instances.append(self)
549
self._hide_cursor()
550
@@ -554,6 +554,7 @@ def start(self, text=None):
554
self._render_frame()
555
self._spinner_id = self._spinner_thread.name
556
self._spinner_thread.start()
557
+ self._stopped = False
558
559
return self
560
0 commit comments