[BUG]
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?
Bug: Text selection in Claude Code copies entire output block instead of visible selection
Environment: macOS, Claude Code (terminal client)
Repro:
- Run a command that produces long markdown output (e.g., a multi-paragraph response)
- Try to select 5–10 words with mouse drag
- Cmd+C
Expected: Only the highlighted words are copied to clipboard.
Actual: The entire rendered block (hundreds/thousands of words) is copied.
Impact: Forces users to take screenshots of small text snippets to share back with Claude, which then hits the 200-image-per-conversation API limit and bricks the session with An image in the conversation exceeds the dimension limit / too-many-image requests.
Workarounds users shouldn't need: Option+drag block select, pbcopy redirects, switching terminals.
Ask: Respect terminal selection bounds, or add a "copy this block" affordance next to rendered markdown.
What Should Happen?
Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z
Error Messages/Logs
Steps to Reproduce
Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z
Bug: Text selection in Claude Code copies entire output block instead of visible selection
Environment: macOS, Claude Code (terminal client)
Repro:
- Run a command that produces long markdown output (e.g., a multi-paragraph response)
- Try to select 5–10 words with mouse drag
- Cmd+C
Expected: Only the highlighted words are copied to clipboard.
Actual: The entire rendered block (hundreds/thousands of words) is copied.
Impact: Forces users to take screenshots of small text snippets to share back with Claude, which then hits the 200-image-per-conversation API limit and bricks the session with An image in the conversation exceeds the dimension limit / too-many-image requests.
Workarounds users shouldn't need: Option+drag block select, pbcopy redirects, switching terminals.
Ask: Respect terminal selection bounds, or add a "copy this block" affordance next to rendered markdown.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z
Claude Code Version
Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗