Add explicit mode for interrupting
Open
Nobody has claimed this yet.
CLI
config
enhancement
TUI
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What variant of Codex are you using?
CLI
What feature would you like to see?
Accidentally pressing Ctrl+C, which can happen when we have many terminals etc. open, causes the run to get interrupted.
We should have a setting to disallow keyboard exit shortcuts and have the user explicit exit or interrupt using /interrupt or /exit. Kind of like using IGNOREEOF in bash.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI's Ctrl+C handling and the /interrupt and /exit command entry points. Trace how keyboard interrupts currently terminate a run, then define where an explicit setting should disable those shortcuts and verify that the selected commands still interrupt or exit as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100