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)