[Bug] Fullscreen TUI: Cmd+C intercepted by internal selection, breaks macOS mouse copy

Open 💬 4 comments Opened Jun 6, 2026 by jbeker

Bug Description
Claude Code fullscreen TUI: copy is broken on macOS Environment - macOS, Claude Code in fullscreen TUI mode (/tui fullscreen) - Reproduced in two terminals: Apple Terminal and Prompt by Panic - Clipboard writes from Claude are disabled in my settings - Prompt has BEL/bell suppression enabled — the beep still occurs there What happens 1. Mouse-select text in the fullscreen TUI (visual selection appears). 2. Press Cmd+C. 3. macOS system error beep. Nothing reaches the clipboard. 4. Switching to /tui default makes the problem disappear entirely. Likely cause In fullscreen, cmd+c is bound to Claude's internal selection:copy action in the Scroll context. That intercepts Cmd+C before the terminal can run its standard copy. Claude's action operates on its keyboard-driven selection (shift+arrows), not the terminal's mouse selection — so the action runs with nothing selected and macOS plays the "no valid action" beep. Secondary issues found while debugging - The on-screen hint tells Mac users to use Ctrl+C to copy, which is non-standard on macOS and conflicts with app:interrupt. - cmd+c is listed as a default binding for selection:copy AND in the documented "macOS reserved / non-rebindable" list — these contradict each other. - Attempting to unbind cmd+c in the Scroll context via keybindings.json (setting it to null) was rejected by /doctor AND broke copy entirely, with no workable override available. - Net result: there is no user-accessible way to make mouse-select + Cmd+C work in fullscreen. Requests 1. Let Cmd+C fall through to the terminal when Claude has no internal selection (or when the selection originated from a mouse drag). 2. Or: make Claude's mouse capture optional via a documented setting so terminal-level mouse selection works normally. 3. Show "Cmd+C" instead of "Ctrl+C" in copy hints on macOS. 4. Resolve the contradictory docs around cmd+c being both a default and "non-rebindable." Workaround /tui default — fullscreen is unusable for copy-heavy work on Mac until this is fixed.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.167
  • Feedback ID: c18bb32a-a045-417a-9b24-666bcad652ae

Errors

[]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗