anthropics / anthropics/claude-code
[BUG] Copying and pasting from terminal window - drops text
- Ngôn ngữ chính
- Python
- Star
- 145k
- Fork
- 23.1k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
### 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_
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- macos
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100