Use pending mode for progress bar updates
This commit is contained in:
parent
e12246983b
commit
fcd4649642
@ -567,7 +567,7 @@ class Send(Handler):
|
||||
self.asyncio_loop.call_soon(self.refresh_progress)
|
||||
|
||||
def draw_progress(self) -> None:
|
||||
with without_line_wrap(self.write):
|
||||
with self.pending_update(), without_line_wrap(self.write):
|
||||
for df in self.done_files:
|
||||
sc = styled('✔', fg='green') if not df.err_msg else styled('✘', fg='red')
|
||||
self.draw_progress_for_current_file(df, spinner_char=sc, is_complete=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user