From 46b9b3c854cb9c33d6781963dbe1f5b0bfe3ae76 Mon Sep 17 00:00:00 2001 From: Maria Date: Wed, 22 Oct 2025 15:35:34 +0200 Subject: [PATCH] Fix CAI prompt issue 303 --- src/cai/cli.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cai/cli.py b/src/cai/cli.py index 2859bb5a..86960a61 100644 --- a/src/cai/cli.py +++ b/src/cai/cli.py @@ -709,6 +709,8 @@ def run_cai_cli( # No agent selection menu - just run all agents except KeyboardInterrupt: + # Print newline to ensure clean prompt display after interrupt + print() def format_time(seconds): mins, secs = divmod(int(seconds), 60) @@ -1699,6 +1701,9 @@ def run_cai_cli( start_idle_timer() except KeyboardInterrupt: + # Print newline to ensure clean prompt display after interrupt + print() + # Clean up any active streaming panels try: from cai.util import cleanup_all_streaming_resources