From 4c01acdf6959b2b24864201e0dd80fc6557fb33c Mon Sep 17 00:00:00 2001 From: Jeremy Shen Date: Fri, 12 Jun 2026 16:38:51 +0800 Subject: [PATCH] fix: print log messages to terminal in addition to GUI --- src/gui/main_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/main_window.py b/src/gui/main_window.py index 94c2584..c882d68 100644 --- a/src/gui/main_window.py +++ b/src/gui/main_window.py @@ -941,7 +941,8 @@ class MainWindow(ctk.CTk): # ── Workflow Steps ───────────────────────────────────────── def _log_message(self, message: str) -> None: - """Append a message to the log display (thread-safe).""" + """Append a message to the log display and terminal (thread-safe).""" + print(message, flush=True) self.after(0, lambda: self._log_display.append(message)) def _set_step_status(self, index: int, status: str) -> None: