From 65bdf1d53822a8edffe1598aa8d9c6a5b54bedd1 Mon Sep 17 00:00:00 2001 From: SkyLi Date: Fri, 15 May 2026 15:53:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97LEVEL=3D2=E8=BF=BD=E8=B8=AA?= =?UTF-8?q?=E7=BA=A7=EF=BC=8C=E6=9E=84=E5=BB=BA=E8=84=9A=E6=9C=AC=E6=94=B9?= =?UTF-8?q?=E4=B8=BA--console=E6=98=BE=E7=A4=BA=E8=B0=83=E8=AF=95=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=EF=BC=8Cstderr=E5=8A=A0flush=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E7=BC=93=E5=86=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.py b/log.py index 6d11a07..8722121 100644 --- a/log.py +++ b/log.py @@ -25,7 +25,7 @@ def _fmt(msg: str) -> str: def _emit(msg: str): - print(_fmt(msg), file=sys.stderr) + print(_fmt(msg), file=sys.stderr, flush=True) if _gui_callback: _gui_callback(msg)