Mouse text selection + Cmd+C does not copy in the TUI (mouse mode captures the selection)

Status Open
Reported on v2.1.205
Maintainer reply None cached
Activity 0 comments · opened Jul 20, 2026

What happens: Selecting text in the Claude Code TUI with the mouse and pressing ⌘C does not copy the selected text to the clipboard. Normal terminal select-and-copy is effectively disabled.

Why it matters: Copying a path, a command, or an error line out of the session is a constant need; having to fall back to modifier tricks or scrollback is friction.

Likely cause: Claude Code enables mouse reporting, so the terminal hands mouse events to the app instead of doing native text selection.

Request: Either make ⌘C copy the current selection, or document/support a reliable modifier (e.g. ⌥/⇧-drag) to bypass mouse reporting for selection — and surface it in the UI.

Possibly related: #50386 (closed).

Environment: Claude Code 2.1.205, macOS (darwin 25.5). Terminal: the IntelliJ IDEA integrated terminal (the reworked "New Terminal"). Note this is an IDE-embedded terminal, not a standalone emulator, which may be material to the mouse-reporting / clipboard behavior.

View original on GitHub ↗