From 6cfa1e225cbd4098ae308893c8c4e4117837b657 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Wed, 29 Oct 2025 13:13:41 +1100 Subject: [PATCH] can cancell acc mode --- crates/g3-cli/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/g3-cli/src/lib.rs b/crates/g3-cli/src/lib.rs index a21c711..bc11a1a 100644 --- a/crates/g3-cli/src/lib.rs +++ b/crates/g3-cli/src/lib.rs @@ -700,7 +700,10 @@ async fn run_accumulative_mode( } } } - Err(ReadlineError::Interrupted) => continue, + Err(ReadlineError::Interrupted) => { + output.print("\nšŸ‘‹ Interrupted. Goodbye!"); + break; + } Err(ReadlineError::Eof) => { output.print("\nšŸ‘‹ Goodbye!"); break;