fix: ctrl-c inside of an auto-continue loop created an infinite loop
This commit is contained in:
+1
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user