Screen codex/task-running-v0-164-0

1 s after Ctrl+C while an approved command (sleep 20) runs. Ctrl+C does not stop the turn. It opens the dialog "Task is still running" in place of the input box, with "1. Cancel task", "2. Run in background" and "3. Exit", and the footer "enter select · esc back". The busy line and the footer "? for shortcuts" are not drawn. A digit acts at once. Measured with the scenario scenarios/codex/interrupt.sh.

Expected state
PERMISSION
Agent version
Codex CLI 0.164.0
Provenance
measured-edited
The text of the screen codex/task-running-v0-164-0: 120 columns by 40 rows, a plain capture.
│ ✨ Update available! 0.164.0 -> 0.166.0                       │
│ See https://github.com/openai/codex for installation options. │
│                                                               │
│ See full release notes:                                       │
│ https://github.com/openai/codex/releases/latest               │
╰───────────────────────────────────────────────────────────────╯


  >_ OpenAI Codex (v0.164.0)
     /work/example

  To get started, describe a task or try one of these commands:

  /init - create an AGENTS.md file with instructions for Codex
  /status - show current session configuration
  /permissions - choose what Codex is allowed to do
  /model - choose what model and reasoning effort to use
  /review - review any changes and find issues


› Run the shell command sleep 20 once outside the sandbox: request approval for it. Then reply with the single word
  done.


• I’ll request approval to run sleep 20 outside the sandbox once.

✔ You approved codex to run sleep 20 this time

• Running sleep 20


  Task is still running
  Choose what happens to the current task.


› 1. Cancel task        Stop the current task and stay in Codex
  2. Run in background  Exit Codex and leave the task running
  3. Exit               Stop the current task and exit Codex

  enter select · esc back

Download the exact bytes of this screen Read the metadata file on GitHub

Expected result

state
PERMISSION
dialog
question
question
Task is still running
The options of the dialog
NumberLabelSelected
1Cancel task Stop the current task and stay in Codexyes
2Run in background Exit Codex and leave the task runningno
3Exit Stop the current task and exit Codexno

Metadata

agent
codex
agent_version
0.164.0
measured
2026-10-30
capture
plain
pane
120 columns, 40 rows
provenance
measured-edited
edits
  • the path of the throwaway folder is scrubbed to /work/example, so each line that held it is shorter
facts