From bceef4bacdca35c4622d2260ecbbed03be432426 Mon Sep 17 00:00:00 2001 From: Anh Tai Date: Mon, 29 Jun 2026 11:10:37 +0700 Subject: [PATCH] fix(console): remove duplicate exit message on Ctrl+C The "Confirmed exit. Goodbye!" message was printed twice when exiting via double Ctrl+C - once in the key binding handler and again in the queue handler that receives the __EXIT__ sentinel. Removed the print from the key binding handler since the queue handler already handles it. --- AgentCrew/modules/console/input_handler.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/AgentCrew/modules/console/input_handler.py b/AgentCrew/modules/console/input_handler.py index f8fa8f61..cf537b4b 100644 --- a/AgentCrew/modules/console/input_handler.py +++ b/AgentCrew/modules/console/input_handler.py @@ -167,9 +167,6 @@ def _(event): hasattr(self, "_last_ctrl_c_time") and current_time - self._last_ctrl_c_time <= 1 ): - self.console.print( - Text("\n🎮 Confirmed exit. Goodbye!", style=RICH_STYLE_YELLOW_BOLD) - ) # Don't try to join from within the same thread - just exit event.app.exit("__EXIT__") else: