openai / openai/codex

Add explicit mode for interrupting

Open
#38,327 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.