Skip to content

Commit 2bba084

Browse files
committed
fix: add clear spinner status before starting it
1 parent cf9bad2 commit 2bba084

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/mmore/ragcli_helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def __init__(self):
7777
self._thread: Optional[threading.Thread] = None
7878

7979
def __enter__(self):
80+
self._stop.clear()
8081
if sys.stdout.isatty():
8182
self._thread = threading.Thread(target=self._spin, daemon=True)
8283
self._thread.start()

0 commit comments

Comments
 (0)