[BUG] Cannot Copy/Paste Text from Claude Code Chat Output

Resolved 💬 2 comments Opened Jun 3, 2026 by crzhh Closed Jun 6, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Summary

Text in the Claude Code chat interface cannot be selected or copied, including text inside code blocks. This makes the tool extremely difficult to use in practice — commands given by Claude cannot be copied to the terminal.

Steps to Reproduce

  1. Open Claude Code (web interface or desktop app)
  2. Ask Claude to provide any shell command or multi-line output
  3. Try to click and drag to select text in the response
  4. Try Ctrl+A inside a code block to select all
  5. Text cannot be selected or copied in any way

Expected Behavior

All text in the chat output should be selectable and copyable with standard mouse drag or keyboard shortcuts (Ctrl+C, Ctrl+A).

Actual Behavior

Text cannot be selected at all. This affects:

  • Regular paragraph text in responses
  • Text inside code blocks where shell commands are displayed
  • Any output Claude produces during a working session

Impact

This is a critical usability problem. When Claude provides commands to run on a server, the user cannot copy them and must type everything by hand.

A second related problem makes this worse: when Claude is actively working and producing output, the chat window auto-scrolls to the bottom continuously. This means any command or instruction Claude gave earlier in the session gets pushed out of view and cannot be scrolled back up to find. The combination of these two bugs means:

  • You cannot copy a command Claude gave you
  • You cannot scroll back up to even read it again once Claude keeps working

This effectively makes it impossible to follow along or act on Claude's instructions during an active session.

Environment

  • User: Louis (crzhh@yahoo.com)
  • Server OS: Ubuntu Linux, kernel 6.8.0-110-generic
  • Access method: Claude Code CLI chat interface
  • Shell: bash

Suggested Fix

Ensure standard text selection works on all chat output. Code blocks in particular should support click-to-copy or at minimum allow normal mouse selection.

What Should Happen?

All text in the chat output should be selectable and copyable with standard mouse drag or keyboard shortcuts (Ctrl+C, Ctrl+A).

Error Messages/Logs

Steps to Reproduce

All text in the chat output should be selectable and copyable with standard mouse drag or keyboard shortcuts (Ctrl+C, Ctrl+A).

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

claude 2.1.140

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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