[Bug] TUI clipboard copy broken in response text (Ctrl+Shift+C, right-click)
Bug Description
Here's something you can paste directly into the /bug report:
Title: Cannot copy Claude's response text — Ctrl+Shift+C and right-click broken in TUI
Environment:
OS: Ubuntu 24.04 LTS
Terminal: GNOME Terminal
Claude Code version: 2.1.183
What's wrong:
In the interactive TUI, I cannot copy text from Claude's response output to the system clipboard. This worked previously and stopped at some point (no config changes on my end).
Steps to reproduce:
Open Claude Code in GNOME Terminal on Ubuntu 24.04.
Select text in Claude's response area with the mouse.
Press Ctrl+Shift+C (or right-click and choose Copy).
Paste elsewhere with Ctrl+V — nothing pastes; clipboard still holds whatever was there before.
Expected behavior:
Selected text should be copied to the system clipboard, same as normal terminal text.
Actual behavior:
Ctrl+Shift+C does nothing — clipboard is unchanged.
Right-click context menu also doesn't trigger a working copy.
Copying works fine everywhere else in the terminal (outside Claude Code's response area) — it's specific to Claude Code's TUI.
Workaround: selecting text and middle-click pasting (X11 primary selection) does work, suggesting Claude Code is intercepting the explicit copy shortcut without actually writing to the clipboard.
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 2.1.183
- Feedback ID: 3c570c39-4f87-4ed9-80ea-3503cbeb337c
Errors
[]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗