From 2c0fa9ba4d909d0576383d9a1c8cea0752589dc6 Mon Sep 17 00:00:00 2001 From: retoor Date: Wed, 27 Nov 2024 21:22:15 +0000 Subject: [PATCH] feat: add screen logging functionality to capture and display terminal output --- src/zhurnal/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zhurnal/app.py b/src/zhurnal/app.py index 9c6679e..2b1211b 100644 --- a/src/zhurnal/app.py +++ b/src/zhurnal/app.py @@ -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(