remove redundant stuff

This commit is contained in:
Fengqing Liu
2025-10-19 17:08:18 +11:00
parent e8144e9591
commit d466f46d6f
39 changed files with 372 additions and 573 deletions

View File

@@ -32,9 +32,7 @@ class ConsoleOutputManager:
timestamp = datetime.now().strftime("%H:%M:%S")
line = f"[{timestamp}] {message}"
self._buffer.append(line)
asyncio.create_task(
self._broadcaster.emit("console_output", {"message": line})
)
asyncio.create_task(self._broadcaster.emit("console_output", {"message": line}))
def get_history(self) -> list[str]:
"""Get the current console history buffer.