codex - 💡(How to fix) Fix ctrl-c not captured in iterm tmux setup (codex thinks it knows why, see below)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

This is troubling because while I can exit the main conversations with /exit, I cannot exit side conversations as the only thing that works there is ctrl-c!

Code Example

{
      "schemaVersion": 1,
      "generatedAt": "1779292586s since unix epoch",
      "overallStatus": "ok",
      "codexVersion": "0.132.0",
      "checks": {
        "app_server.status": {
          "id": "app_server.status",
          "category": "app-server",
          "status": "ok",
          "summary": "background server is not running",
          "details": {
            "control socket": "/home/mila/a/aghajohm/.codex/app-server-control/app-server-control.sock",
            "daemon state dir": "/home/mila/a/aghajohm/.codex/app-server-daemon",
            "mode": "ephemeral",
            "pid file": "/home/mila/a/aghajohm/.codex/app-server-daemon/app-server.pid (missing)",
            "settings": "/home/mila/a/aghajohm/.codex/app-server-daemon/settings.json (missing)",
            "status": "not running",
            "update-loop pid file": "/home/mila/a/aghajohm/.codex/app-server-daemon/app-server-updater.pid
    (missing)"
          },
          "remediation": null,
          "durationMs": 0
        },
+198 lines (ctrl + t to view transcript)
            "tmux set-clipboard": "external",
            "tmux xterm-keys": "on"
          },
          "remediation": null,
          "durationMs": 18
        },
        "updates.status": {
          "id": "updates.status",
          "category": "updates",
          "status": "ok",
          "summary": "update configuration is locally consistent",
          "details": {
            "cached latest version": "0.131.0",
            "check for update on startup": "true",
            "last checked at": "2026-05-19T21:39:33.579492539Z",
            "latest version": "0.132.0",
            "latest version status": "current version is not older",
            "update action": "standalone installer",
            "version cache": "/home/mila/a/aghajohm/.codex/version.json"
          },
          "remediation": null,
          "durationMs": 194
        }
      }
    }
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.132.0

What subscription do you have?

Pro

Which model were you using?

not related

What platform is your computer?

Linux 5.15.0-173-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

iTerm2 + tmux (for ssh to compute luster)

Codex doctor report

{
      "schemaVersion": 1,
      "generatedAt": "1779292586s since unix epoch",
      "overallStatus": "ok",
      "codexVersion": "0.132.0",
      "checks": {
        "app_server.status": {
          "id": "app_server.status",
          "category": "app-server",
          "status": "ok",
          "summary": "background server is not running",
          "details": {
            "control socket": "/home/mila/a/aghajohm/.codex/app-server-control/app-server-control.sock",
            "daemon state dir": "/home/mila/a/aghajohm/.codex/app-server-daemon",
            "mode": "ephemeral",
            "pid file": "/home/mila/a/aghajohm/.codex/app-server-daemon/app-server.pid (missing)",
            "settings": "/home/mila/a/aghajohm/.codex/app-server-daemon/settings.json (missing)",
            "status": "not running",
            "update-loop pid file": "/home/mila/a/aghajohm/.codex/app-server-daemon/app-server-updater.pid
    (missing)"
          },
          "remediation": null,
          "durationMs": 0
        },
    … +198 lines (ctrl + t to view transcript)
            "tmux set-clipboard": "external",
            "tmux xterm-keys": "on"
          },
          "remediation": null,
          "durationMs": 18
        },
        "updates.status": {
          "id": "updates.status",
          "category": "updates",
          "status": "ok",
          "summary": "update configuration is locally consistent",
          "details": {
            "cached latest version": "0.131.0",
            "check for update on startup": "true",
            "last checked at": "2026-05-19T21:39:33.579492539Z",
            "latest version": "0.132.0",
            "latest version status": "current version is not older",
            "update action": "standalone installer",
            "version cache": "/home/mila/a/aghajohm/.codex/version.json"
          },
          "remediation": null,
          "durationMs": 194
        }
      }
    }

What issue are you seeing?

When I hit ctrl-C nothing happens in the codex cli. It happened after updating from 0.130 to 0.132. I have asked codex itself to diagnose what is going on and this what it thinks:

<img width="3014" height="688" alt="Image" src="https://github.com/user-attachments/assets/3dee039f-f6a8-4d99-bf08-d27f2984de63" />

This is troubling because while I can exit the main conversations with /exit, I cannot exit side conversations as the only thing that works there is ctrl-c!

What steps can reproduce the bug?

Just open codex cli and hit ctrl-c and nothing happens.

What is the expected behavior?

It should do what ctrl-c should do in codex cli.

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix ctrl-c not captured in iterm tmux setup (codex thinks it knows why, see below)