mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
91a719f80e
commit
eaa0ec4fc3
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ class ReadFileWithProgressReporting(io.FileIO): # {{{
|
|||
f'\r\033[K\033[?7h {frac:%} {mb_pos:.1f}/{mb_tot:.1f}MB {kb_rate:.1f} KB/sec {eta_m} minutes, {eta_s} seconds left\033[?7l')
|
||||
if self.tell() >= self._total:
|
||||
t = int(time.monotonic() - self.start_time) + 1
|
||||
print(f'\nUpload took {t/60} minutes and {t%60} seconds at {kb_rate:.1f} KB/sec')
|
||||
print(f'\nUpload took {t//60} minutes and {t%60} seconds at {kb_rate:.1f} KB/sec')
|
||||
sys.stdout.flush()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue