A small Codex++ tweak that fixes a Codex desktop issue on macOS where Cmd+C can fail to copy selected transcript text even though right-click Copy works.
Codex can leave keyboard focus on the composer text area while a transcript selection still exists in the Electron renderer. The native Edit > Copy command is delivered, but AppKit routes it through the focused responder, so the pasteboard is not updated.
This tweak adds two fallbacks:
- Main process: on plain
Cmd+C, call ElectronwebContents.copy(), matching Codex's working right-click Copy path. - Renderer process: if the page has a non-empty document selection, copy that selection before the focused composer can swallow the command.
- Install Codex++.
- Clone this repo into your Codex++ tweaks directory:
git clone https://github.com/nendonerd/codex-plusplus-cmd-c-copy-fix.git "$HOME/Library/Application Support/codex-plusplus/tweaks/com.nendonerd.cmd-c-copy-fix"- Restart Codex, or reload the Codex window.
codexplusplus validate-tweak .
codexplusplus dev . --replace --no-watchThis tweak only handles plain copy shortcuts: Cmd+C on macOS and Ctrl+C elsewhere. It does not bind or override cut, paste, search, or custom shortcuts.