Cmd+C copy doesn't work in fullscreen mode inside VS Code integrated terminal (mouse capture swallows keystroke)

Open 💬 0 comments Opened Jul 13, 2026 by antoshka

Environment:

  • Claude Code 2.1.207 (native install, darwin-arm64)
  • VS Code 1.128.0, integrated terminal (TERM_PROGRAM=vscode)
  • macOS
  • tui: fullscreen, copyOnSelection: false

Expected: Per the keybindings docs, cmd+c is a default binding for selection:copy (alongside ctrl+shift+c). Selecting text with the mouse and pressing Cmd+C should copy it.

Actual: Cmd+C does nothing when text is selected via Claude Code's own mouse-capture selection in fullscreen mode, inside VS Code's integrated terminal. Ctrl+Shift+C works fine.

Workaround: Setting CLAUDE_CODE_DISABLE_MOUSE=1 fixes Cmd+C (by disabling Claude Code's mouse capture and falling back to VS Code's native terminal selection/copy), but this also disables Claude Code's own mouse-driven selection/scroll UI entirely.

Suspected cause: Fullscreen mode's mouse-capture layer intercepts/consumes the Cmd+C keystroke before it reaches Claude Code's own selection:copy handler, specifically when the host terminal is VS Code's integrated terminal

View original on GitHub ↗