Using Codex in the Cursor built-in terminal (not the codex extension which i’ve found performs worse). When it writes a response and I try to copy it, I get “The terminal has no selection to copy”.
MacOS Sequoia 15.5
Steps to Reproduce
Type codex, ask it something, then try to copy part of the response.
It’s intermittent, sometimes works, sometimes doesn’t
Hey, thanks for the report. I can see the screenshot showing the “The terminal has no selection to copy” warning.
We tracked this bug before and marked it as fixed, but it looks like it might be back. It could be related to how Codex CLI manages terminal output since it uses a custom TUI that can affect normal text selection.
A couple of things to try:
After Codex prints its response, click somewhere in the terminal first, then select the text and copy. Sometimes TUI apps can mess with terminal focus.
Try right-click then Copy instead of Cmd+C.
As a workaround, you can pipe Codex output to a file, or use pbcopy on macOS.
Also, does this only happen with Codex CLI, or do you see it in normal terminal use too? That would help confirm if it’s a Codex TUI issue or a broader terminal issue.
I’ve flagged this with the team. Let me know if any of the above helps.
I’ve seen it in both the regular terminal and when using codex inside the terminal. It’s intermittent - so for example, right now it’s working to copy from the regular terminal and from codex output.
Next time I have the issue, I can let you know what steps taken helps out.