[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
[]Showing cached comments. Read the full discussion on GitHub ↗
3 Comments
Is this with
/tui fullscreen? Could be #62462 .I face the same. For me it is some race condition. It works in one of five times. This is definitely Claude Code related. Any other tool doesn't have this problem including GitHub Copilot CLI and Codex CLI.
This is an issue for me as well