Skip to content

nendonerd/codex-plusplus-cmd-c-copy-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codex++ Cmd-C Copy Fix

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.

What it fixes

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 Electron webContents.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

  1. Install Codex++.
  2. 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"
  1. Restart Codex, or reload the Codex window.

Development

codexplusplus validate-tweak .
codexplusplus dev . --replace --no-watch

Notes

This 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.

About

Codex++ tweak that fixes Cmd-C copying of selected transcript text in Codex

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors