1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Opt: Remove clear log button

This commit is contained in:
18870
2022-07-30 19:23:52 +08:00
parent b588d52af5
commit 1552e5d9cc
3 changed files with 40 additions and 50 deletions

View File

@@ -89,7 +89,7 @@ class ProcessManager:
elif len(self.renderables) == 0:
return 2
else:
console = Console()
console = Console(no_color=True)
with console.capture() as capture:
console.print(self.renderables[-1])
s = capture.get().strip()