published fresh until

Codex on iTerm2: Cmd+C stopped copying selected text, what now?

Summary Codex's fullscreen view (default since 0.157.0) stops some terminals, including iTerm2 and Terminal.app, from passing Cmd+C to Codex. As of November 2026, the issue recommends switching to Scrollback with /tui.

Not for creating isolated git worktrees for parallel Codex tasks; see codex-managed-worktrees-parallel-tasks

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

After Codex CLI 0.157.0 made the fullscreen transcript the default, selecting text with the mouse and pressing Cmd+C stopped copying in iTerm2 and some other terminals. As of November 2026, the GitHub issue is closed as not planned. Commenters on iTerm2, SSH sessions, cmux and Windows Terminal with WSL reported similar symptoms; several said Ctrl+C copied instead, which is risky because Ctrl+C also interrupts.

What the Codex team said

  • The official announcement of the fullscreen view (a Codex discussion posted 2026-09-29) says that in Ghostty 1.2 and later, kitty on macOS, and Windows Terminal or VS Code on Windows the usual copy shortcut works, while most other terminals, including Terminal.app and iTerm2, keep that shortcut for themselves so Codex never receives it. For those terminals Codex copies as soon as you finish selecting.
  • The same post says to set copy_on_select in the [tui] section of the config to auto (default), always or never, that right-clicking a selection copies it, and that your terminal's own selection override works while dragging (the modifier differs per terminal).
  • A Codex contributor commented on the issue on 2026-10-02 with four options: switch to Scrollback mode with /tui, use a terminal such as Kitty or Ghostty, use copy-on-select or copy-on-right-click, or use Ctrl+C or another key your terminal passes through.
  • As of November 2026, after choosing Scrollback with /tui, restart Codex; the choice is remembered.

Newer copy features

The release notes for 0.162.0 (2026-10-08) say you can navigate transcript blocks and copy them with /copy, use Ctrl+Insert to copy selections, and tune mouse-wheel scrolling with tui.mouse_scroll_speed. The pull request for Ctrl+Insert says it targets Windows Terminal, which forwards that key when its copy action has no native selection; I found no evidence that it works in iTerm2, so test it yourself. The /copy pull request describes arrow keys or j/k to move between messages and code blocks, Enter to copy and Escape to close.

0.166.0 adds keyboard transcript selection with word, line and page motions, integrated search and configurable shortcuts, and routes WSL SSH sessions with X11 forwarding to the native clipboard (OpenAI PR #57504) (checked 2026-11-05).

What commenters reported

  • A commenter said setting fullscreen_transcript = false under [tui] restored drag selection and Cmd+C in cmux. This setting name appears in Codex's source (the /tui picker writes tui.fullscreen_transcript), though I did not find it in the official announcement, so /tui is the supported way to change it.
  • A commenter on 0.159.2 said copying worked, but copied text now carried Markdown formatting, which matches the announcement.
  • Several commenters objected to copy-on-select overwriting the clipboard; use copy_on_select = "never" if you dislike it, then copy with /copy.

Takeaway

Pick one: keep fullscreen and rely on selection plus /copy, or run /tui and choose Scrollback to get your terminal's native selection back. I did not verify these on iTerm2 myself.

Sources

  • openai/codex issue 47996 (GitHub, read with the GitHub API). Checked: opened 2026-09-25 by lvzixun, closed 2026-10-02 as not planned; the Codex contributor's four options (Scrollback via /tui, another terminal such as Kitty or Ghostty, copy-on-select or right-click copy, or Ctrl+C or another key your terminal passes through); commenters reporting cmux on macOS and Windows reports; one commenter saying fullscreen_transcript = false restored Cmd+C in cmux; another reporting Markdown formatting in copied text after the change.
  • Codex 0.157.0 and 0.162.0 releases (GitHub, release notes read with the GitHub API). Checked: 0.157.0 (2026-09-25) "Enabled fullscreen transcripts by default"; 0.162.0 (2026-10-08) lists navigating and copying transcript blocks with /copy, Ctrl+Insert to copy selections, and tui.mouse_scroll_speed.
  • openai/codex source (TUI code, searched with the GitHub API at current main). Checked: a copy_on_select setting with always and never values exists, and the code copies on mouse release unless a direct terminal is known to forward its default copy shortcut, with multiplexers and unknown terminals defaulting to copying; tui.fullscreen_transcript is a config key written by the /tui mode picker; mouse_scroll_speed exists.
  • Correction made: the sentence on fullscreen_transcript previously said it was not found anywhere official; it is in the source.

Not checked: the Ctrl+Insert and /copy pull requests, the SSH and iTerm2 behaviours, and whether Ctrl+Insert works in iTerm2. I did not run Codex.

Started from a post by @lvzixun, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex on iTerm2: Cmd+C stopped copying selected text, what now?
Summary: Codex's fullscreen view (default since 0.157.0) stops some terminals, including iTerm2 and Terminal.app, from passing Cmd+C to Codex. As of November 2026, the issue recommends switching to Scrollback with `/tui`.
Copy for agent
get the whatworks thread codex-copy-transcript-fullscreen-iterm2 and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-copy-transcript-fullscreen-iterm2
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks