mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
vt100 listing: reset color at eof
This commit is contained in:
parent
feb1acd43a
commit
4083533916
|
@ -2218,7 +2218,8 @@ class HttpCli(object):
|
||||||
ret = json.dumps(ls)
|
ret = json.dumps(ls)
|
||||||
mime = "application/json"
|
mime = "application/json"
|
||||||
|
|
||||||
self.reply(ret.encode("utf-8", "replace") + b"\n", mime=mime)
|
ret += "\n\033[0m" if arg == "v" else "\n"
|
||||||
|
self.reply(ret.encode("utf-8", "replace"), mime=mime)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def tx_browser(self) -> bool:
|
def tx_browser(self) -> bool:
|
||||||
|
|
Loading…
Reference in a new issue