Cannot copy text from Claude responses in interactive TUI (GNOME Terminal, Ubuntu 24.04)

Open 💬 9 comments Opened May 26, 2026 by Chawer1

Environment

  • Claude Code: 2.1.142
  • OS: Ubuntu 24.04
  • Terminal: GNOME Terminal

Description

In the interactive TUI, it is impossible to copy text from Claude's responses to the clipboard. The issue is specific to Claude's response area — copying works normally for all other terminal content.

Steps to reproduce

  1. Start an interactive session: claude
  2. Send any message and wait for a response
  3. Select text from Claude's response with the mouse
  4. Press Ctrl+Shift+C to copy

Expected behavior

Selected text is copied to the clipboard.

Actual behavior

Clipboard is unchanged (previous clipboard content is retained). Right-click context menu also does not work in the response area.

Additional finding

X11 primary selection works — text selected in the response area can be pasted via middle-click. Only the clipboard copy (Ctrl+Shift+C) is broken, suggesting Claude Code intercepts the shortcut in the response area without copying to clipboard.

Workaround

  • Middle-click paste after selecting
  • Use claude -p "question" in a separate terminal tab for plain copyable output

View original on GitHub ↗

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