This commit is contained in:
Sven Heidemann 2021-03-05 16:43:59 +01:00
parent 9a0d36ca86
commit 49f461037a

View File

@ -207,12 +207,11 @@ class Console:
@classmethod
def spinner(cls, message: str, call: Callable):
cls.write(message)
cls.write_line(message)
spinner = SpinnerThread(cls)
spinner.start()
call()
spinner.stop_spinning()
cls.write_line()
@classmethod
def flush(cls):