fix: ctrl-c inside of an auto-continue loop created an infinite loop
CI / All (ubuntu-latest) (push) Failing after 26s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-31 11:44:16 -06:00
parent dd7d75fd9f
commit 35e75e5b4f
+1 -1
View File
@@ -1344,7 +1344,7 @@ async fn ask(
}
GuardrailAction::NoAction => {}
}
let do_continue = should_continue(ctx);
let do_continue = should_continue(ctx) && !abort_signal.aborted_ctrlc();
if do_continue {
let full_prompt = {