Aider ignores Ctrl-C? Check the terminal and child process.
When Ctrl-C appears ineffective, determine whether Aider, a child command, or the terminal UI is still active. Preserve the diff before stopping a process.
What the failure looks like.
The terminal does not return to a prompt after Ctrl-C, or Aider appears to continue while a lint, test, or other child process remains active. These are different states and should be checked separately.
Why it happens.
Aider issue #945 is a user report, not proof that every Ctrl-C failure has the same cause. Identify the terminal surface and whether a child process owns the foreground before choosing a stop action.
Fix it without losing the task.
What the next AI should receive.
Aider version, OS and terminal, exact command before the hang, whether Ctrl-C changed the prompt, child-process state, current diff, and any output that existed only in the terminal.
First safe action
Try one interrupt, wait for the prompt, then check whether a child command is still running. Do not close the terminal until you have saved or recorded the working-tree state.
Evidence boundary
Issue #945 documents one reported case. It does not establish a general Aider defect or guarantee that terminating the process preserves unsaved terminal input.
Diagnostic checkpoint
A visible terminal hang is not enough to identify the process at fault; record process state and the exact interrupt outcome.
How ShardStitch helps.
ShardStitch can package the accessible repository state and the last action for a new session. It cannot deliver Ctrl-C to a process, recover terminal-only output, or preserve unsaved editor buffers.
Source trail.
Aider issue #945 and Aider usage documentation.
FAQ.
Should I keep pressing Ctrl-C when Aider does not respond?
No. Send one interrupt, wait for observable feedback, and inspect whether a child process still owns the terminal. Repeated keypresses do not prove the process stopped.
Will closing the terminal discard Aider changes?
Changes already written to files usually remain, but terminal-only output and unsaved editor buffers may not. Check the worktree and save accessible buffers first.
Scope note: This guide covers diagnosing an ineffective interrupt in a local Aider terminal. The linked issue is one report; terminal, shell, subprocess, and OS behavior can differ.