claude-code - 💡(How to fix) Fix [BUG] Cmd+C no longer copies selected text on macOS after /tui update [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49326Fetched 2026-04-17 08:44:25
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

Error Messages/Logs

No error messages. Cmd+C silently does nothing - text is not copied to clipboard.

Fix Action

Fix / Workaround

  • Attempted workaround: added custom keybinding (cmd+c → selection:copy in Global context) via ~/.claude/keybindings.json — did not resolve the issue.
  • Related issue: #43942 (TUI overrides terminal clipboard shortcuts)
  • cmd+c is listed as a macOS reserved shortcut in Claude Code's keybindings docs, which may be why it's being blocked by the TUI input handler.

Code Example

No error messages. Cmd+C silently does nothing - text is not copied to clipboard.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Cmd+C no longer copies selected text to the clipboard on macOS. Only Ctrl+C works for copying. The status bar now shows "ctrl+c to copy" instead of the macOS-standard Cmd+C.

This broke after the update that introduced /tui. Previously, Cmd+C worked as expected for copying selected text. Using iTerm 2.

What Should Happen?

Cmd+C should copy selected text to the clipboard, as it is the standard macOS copy shortcut.

Error Messages/Logs

No error messages. Cmd+C silently does nothing - text is not copied to clipboard.

Steps to Reproduce

  1. Open Claude Code in iTerm2 on macOS
  2. Have Claude generate a response with text
  3. Select text (mouse or shift+arrow keys)
  4. Press Cmd+C
  5. Attempt to paste (Cmd+V) in any application — nothing was copied
  6. Go back and press Ctrl+C instead — text is copied successfully

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.109

Claude Code Version

2.1.110 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

  • Attempted workaround: added custom keybinding (cmd+c → selection:copy in Global context) via ~/.claude/keybindings.json — did not resolve the issue.
  • Related issue: #43942 (TUI overrides terminal clipboard shortcuts)
  • cmd+c is listed as a macOS reserved shortcut in Claude Code's keybindings docs, which may be why it's being blocked by the TUI input handler.

extent analysis

TL;DR

The issue can likely be resolved by adjusting the keybindings configuration to properly handle the macOS-standard Cmd+C shortcut for copying text.

Guidance

  • Review the ~/.claude/keybindings.json file to ensure the custom keybinding for Cmd+C is correctly configured to override the TUI's input handler.
  • Check the Claude Code documentation for any specific instructions on configuring keybindings for macOS, especially considering the TUI's behavior.
  • Investigate the related issue #43942 to see if there are any additional workarounds or fixes that can be applied to resolve the conflict between the TUI and terminal clipboard shortcuts.
  • Verify that the custom keybinding is being applied in the correct context (Global or specific to Claude Code) to ensure it takes precedence over the default TUI behavior.

Example

No code example is provided as the issue is related to configuration and keybindings rather than code implementation.

Notes

The solution may depend on the specifics of the Claude Code version and the TUI implementation, so it's essential to consult the documentation and related issues for the most accurate and up-to-date information.

Recommendation

Apply workaround: Adjust the keybindings configuration to properly handle the macOS-standard Cmd+C shortcut, as the issue seems to be related to the TUI overriding the default behavior, and a direct fix might not be available without updating the software.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Cmd+C no longer copies selected text on macOS after /tui update [1 comments, 2 participants]