feat: add real-time terminal output printing to Zhurnal app websocket handler

This commit is contained in:
2024-11-27 21:22:15 +00:00
parent a5cc076bf3
commit 19b306362b
+1
View File
@@ -245,6 +245,7 @@ class Zhurnal(web.Application):
time_elapsed = round(
time_previous and time_current - time_previous or 0, 4
)
print(line.decode().strip())
for client in app.clients:
await client.send_str(
json.dumps(