2021.4.1 #11

Merged
edraft merged 172 commits from 2021.04.01 into 2021.04 2021-03-21 20:04:24 +01:00
Showing only changes of commit 59206dbc32 - Show all commits

View File

@ -20,16 +20,13 @@ class SpinnerThread(threading.Thread):
print('\t', end='') print('\t', end='')
spinner = self._spinner() spinner = self._spinner()
while self._is_spinning: while self._is_spinning:
# self._console.write(next(spinner))
print(next(spinner), end='') print(next(spinner), end='')
time.sleep(0.1) time.sleep(0.1)
# self._console.write('\b')
print('\b', end='') print('\b', end='')
sys.stdout.flush() sys.stdout.flush()
# self._console.write(' ') print('done', end='')
print(' ', end='')
def stop_spinning(self): def stop_spinning(self):
self._is_spinning = False self._is_spinning = False