anthropics / anthropics/claude-code
[BUG] Copying and pasting from terminal window - drops text
- Lenguaje dominante
- Python
- Estrellas
- 145k
- Forks
- 23.1k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
### 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_
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- macos
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100