Repository navigation
Force quit the terminal chat on a second Ctrl-C during a turn - #169
Merged
Merged
Conversation
While a turn is active every interrupt was swallowed waiting for the runner to stop, so a hung turn left no keyboard path out. The first Ctrl-C still aborts gracefully; the second exits 130 immediately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While a turn is active, every Ctrl-C was swallowed waiting for the runner to stop — a hung turn left no keyboard path out (Ctrl-D queues behind the pending turn, /exit is untypeable). First Ctrl-C still aborts gracefully; the second now exits 130 immediately without saving, via an injectable forceExit seam (default lives in the exempt cli.ts entry). Regression test drives two SIGINTs into a hung turn through the fake-TTY harness (failed pre-fix). tsc clean; check-standards and check-architecture 0 new; /help and terminal-chat.md updated.