CLI: add configurable no-interrupt mode so typing cannot affect active runs or selection

Resolved 💬 3 comments Opened Mar 14, 2026 by Alek2077 Closed May 16, 2026

What variant of Codex are you using?

CLI

What feature would you like to see?

Add a configurable mode that prevents ordinary typing from interrupting, steering, or changing active selection state while Codex is already running.

The current behavior is too easy to trigger accidentally. If I start typing while Codex is still working, the UI can treat that input as interaction with the active session instead of harmless draft text. I want a mode where:

  • typing alone never interrupts the current turn
  • typing alone never changes the currently focused/active selection or action
  • only an explicit action should affect the running turn, for example:
  • Enter on a queued draft after the turn ends
  • a dedicated shortcut for "interrupt current run"
  • a dedicated shortcut for "queue for next turn"

In other words: while Codex is running, there should be an option to make the interface inert to ordinary typing unless I deliberately invoke an interrupt/queue command.

Why is this needed?

Accidental typing during generation is too costly:

  • it can interrupt or steer a turn I wanted to let finish
  • it can interact with the current selection/focus state when I did not intend to select anything
  • it creates anxiety around touching the keyboard while Codex is working

This should be opt-in or configurable, but it should exist for users who want predictable, non-interruptible runs.

What would a good solution look like?

Any of these would solve it:

  • a setting such as queue_only_while_running = true
  • a setting such as disable_typing_interrupts = true
  • a "locked while running" input mode where typed text is stored as a local draft only
  • requiring an explicit shortcut for interrupt/steer rather than allowing ordinary typing to affect the active turn

Additional information

Environment where this behavior is unwanted:

  • Codex CLI: 0.114.0
  • VS Code integrated terminal (ubuntu)

This request is distinct from broken Tab queue behavior. The request here is a feature: a hard way to stop typing from affecting an active run or selection unless explicitly commanded.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗