You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd + c not working for copying but ctrl + c work in mac #48122
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
On macOS, Cmd + C is not working for copying selected text in Codex CLI. Normally, Cmd + C is the standard copy shortcut on macOS, but it does not copy the selected text in Codex CLI. Using Ctrl + C works instead.
What steps can reproduce the bug?
Open Codex CLI on macOS.
Start a Codex session and generate some output.
Select/highlight text from the Codex CLI output.
Press Cmd + C to copy the selected text.
Try to paste the copied text elsewhere.
Notice that Cmd + C does not copy the selected text as expected.
Using Ctrl + C instead works.
I also noticed the same behavior when using Codex CLI while working with a website/chat-related task, so the issue does not appear to be limited to one specific prompt or session.
What is the expected behavior?
No response
Additional information
No response
Reacted by Aqil Contractor, Tim, Niya Ma, Panu Pitkamaki, Top, Nico, jeevships, Diyali Goswami, quidditydoesstuff, Takanori Matsumoto and 44 more
Reacted by MISHIMA Yuki
Reacted by Dylan
Reacted by Aqil Contractor, Suman Cherukuri and Jayden Le
I’d like to add another report of this regression.
On macOS, Cmd+C has traditionally been the expected copy shortcut. In Codex 0.157.x, it no longer copies selected terminal/TUI text, while Ctrl+C now performs the copy action.
This is particularly disruptive because Ctrl+C already has the conventional terminal meaning of interrupting the running process. It also breaks the normal macOS muscle memory:
Cmd+C → Copy
Cmd+V → Paste
Ctrl+C → Interrupt
My current environment:
macOS
Codex CLI 0.157.1
Custom provider
TUI mode
/status confirms the session is otherwise functioning normally.
Please consider restoring Cmd+C as the macOS copy shortcut while retaining Ctrl+C for its normal terminal interrupt behavior.
This feels like a usability regression rather than an intentional macOS behavior change.
Reacted by Rob Cole, charles-kan-hypthon, Mayank-savaliya and Sijin Huang
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working
Activity
github-actions commentedon Sep 25, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jeevships commentedon Sep 26, 2026
i have this exact same issue with codex. pls fix
moonwater commentedon Sep 27, 2026
I’d like to add another report of this regression.
On macOS,
Cmd+Chas traditionally been the expected copy shortcut. In Codex 0.157.x, it no longer copies selected terminal/TUI text, whileCtrl+Cnow performs the copy action.This is particularly disruptive because
Ctrl+Calready has the conventional terminal meaning of interrupting the running process. It also breaks the normal macOS muscle memory:Cmd+C→ CopyCmd+V→ PasteCtrl+C→ InterruptMy current environment:
/statusconfirms the session is otherwise functioning normally.Please consider restoring
Cmd+Cas the macOS copy shortcut while retainingCtrl+Cfor its normal terminal interrupt behavior.This feels like a usability regression rather than an intentional macOS behavior change.
samoweb3 commentedon Sep 27, 2026
Same here, it's absolutely annoying tbh
Also, weird to use ctrl + c as an alternative - since doing it twice closes the interface.
cropsgg commentedon Sep 27, 2026
exactly idk why they even decided to revert cmd +c to ctrl + c its so weird
cuong3 commentedon Sep 27, 2026
same. This is so irritating, Ctrl+C is supposed to be used for terminating a session. Please revert this behavior.
sehun-gn commentedon Sep 28, 2026
rollback plz
leszekbulawa commentedon Sep 28, 2026
use
/tuiand choose "Scrollback" modetalsperre commentedon Sep 28, 2026
Thanks @leszekbulawa - the fix worked.
dchap-savant commentedon Sep 30, 2026
copied with ctrl+c:
Or mention your thread ID 01a0f376-c658-7370-88c4-d142e7165051 in an existing issue.
etraut-openai commentedon Oct 2, 2026
This is a limitation of the Terminal.app program. It does not pass Cmd+C to Codex when running in fullscreen mode. Your options are:
/tui. You will forego the functionality provided by fullscreen mode if you do this.Please refer to this post for additioanl context.
cimi commentedon Oct 2, 2026
FWIW, I am using cmux (based on ghostty) and have the same problem, so it's not exclusive to the mac terminal app.
trangvy-asana commentedon Oct 23, 2026
I'm using cmux as well and this is still an issue
fix(cmux-next terminal): TUI agents get their Command chords (Cmd-C, …
fix(cmux-next terminal): TUI agents get their Command chords (Cmd-C, …
fix(cmux-next terminal): TUI agents get their Command chords (Cmd-C, …
fix(cmux-next terminal): TUI agents get their Command chords (Cmd-C, …
fix(cmux-next terminal): TUI agents get their Command chords (Cmd-C, …
fix(cmux-next terminal): TUI agents get their Command chords (Cmd-C, …
trahelman commentedon Nov 6, 2026
Same problem. It's so annoying.