Skip to content

Commit

Permalink
u2c: fix windowtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Dec 19, 2024
1 parent 888b31a commit 946a8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/u2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def _fancy(self):
nleft = self.nfiles - self.up_f
tail = "\033[K\033[u" if VT100 and not self.ar.ns else "\r"

t = "%s eta @ %s/s, %s, %d# left\033[K" % (self.eta, spd, sleft, nleft)
t = "%s eta @ %s/s, %s, %d# left" % (self.eta, spd, sleft, nleft)
if not self.hash_b:
t = " now hashing..."
eprint(txt + "\033]0;{0}\033\\\r{0}{1}".format(t, tail))
Expand Down

0 comments on commit 946a8c5

Please sign in to comment.