anthropics / anthropics/claude-code
[BUG] Copying and pasting from terminal window - drops text
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
### Preflight Checklist
- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?
Copying text out of the Claude Code terminal window silently drops sections. When I drag-select a long assistant response in the terminal (VS Code integrated terminal, macOS) and paste it into an email or document, multiple chunks of the text are missing — with no indication anything was lost. Started roughly 5–6 days ago, likely after an update; older sessions copied fine. Reproduces on long rendered responses, especially ones taller than the visible window that I scroll through while selecting. This is silent data loss for anyone whose output leaves via clipboard — I only caught it by proofreading sent emails. Workaround I'm using: having Claude write everything paste-bound to a text file and copying
### What Should Happen?
Should be able to copy text while scrolling in claude code terminal window and paste it without sections missing
### Error Messages/Logs
```shell
```
### Steps to Reproduce
copy text in any claude window and scroll down to get the full text. paste it outside of claude code and there will be missing sections.
### Claude Model
None
### Is this a regression?
Yes, this worked in a previous version
### Last Working Version
_No response_
### Claude Code Version
2.1.238.
### Platform
Anthropic API
### Operating System
macOS
### Terminal/Shell
Terminal.app (macOS)
### Additional Information
_No response_
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the issue in the macOS terminal environments mentioned, using a long rendered response that extends beyond the visible window and selecting while scrolling. Compare the clipboard contents with the visible response and with the previous working behavior; done means pasted text contains every selected section without silent omissions.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100