Skip to content

feat(terminal): add cmd+c / ctrl+c copy shortcut - #12

Merged
casparbreloh merged 3 commits into
mainfrom
feat/terminal-cmd-c-copy
Apr 13, 2026
Merged

casparbreloh merged 3 commits into
mainfrom
feat/terminal-cmd-c-copy

Conversation

@casparbreloh

Copy link
Copy Markdown
Owner
  • Replace auto-copy-on-select with explicit Cmd+C (macOS) / Ctrl+C (other platforms) keyboard shortcut
  • Mirrors native copy behavior of terminals like Ghostty
  • On non-macOS, Ctrl+C only copies when text is selected; otherwise falls through to exit

- Replace auto-copy-on-select with explicit keyboard shortcut
- macOS uses Cmd+C, other platforms use Ctrl+C when text is selected
- Cast keyInput through EventEmitter to resolve oxlint inheritance issue
- Add explicit KeyEvent type annotation for callback parameter
@casparbreloh
casparbreloh merged commit b18be4e into main Apr 13, 2026
1 check passed
@casparbreloh
casparbreloh deleted the feat/terminal-cmd-c-copy branch April 13, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant