[BUG] Claude Terminal is truncating input text that I paste in it - In cursor
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?
When I paste text in claude code terminal in Cursor, the text is getting truncated and only around 30 percent of the text from the end is getting pasted. So the first 70 percent of the text is missing.
I am only pasting 1440 characters so ideally the text should not get truncated... please see the image here with some example text
<img width="535" height="70" alt="Image" src="https://github.com/user-attachments/assets/983b1375-6384-4734-923d-f635f5f5b550" />
What Should Happen?
The whole text should be pasted
or it should say something like +n lines of text
The old lighthouse had stood at the edge of the cliffs for over two hundred years, weathering storms that tore apart fishing boats and swallowed whole stretches of coastline. Its keeper, a quiet man named Aldric, had lived there for thirty of those years, tending the light with a devotion that bordered on the religious. Every evening at dusk he would climb the spiral staircase, counting each of the eighty-nine steps as he always had, and every morning he would descend them again with the unhurried calm of someone who had long made peace with solitude.
The village below rarely thought about Aldric. Children sometimes dared each other to knock on his door, but none ever did. Fishermen glanced up at the light before heading out to sea, grateful for it in the way you are grateful for things you never expect to lose. His groceries were left at the base of the path on Thursdays by a woman named Marta, who had done so for fifteen years without ever exchanging more than a nod with the man himself.
What nobody in the village knew was that Aldric had spent the last decade writing. Not a diary, not letters — a novel, handwritten across four hundred pages of yellowed paper, about a sailor who discovers an island that does not appear on any map. It was, by any measure, extraordinary. And it sat in a wooden box beneath his bed, read by no one, waiting for a world that had not yet thought to ask.
Error Messages/Logs
Steps to Reproduce
I do not know
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.112.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Cursor
Additional Information
Please help me! I am struggling!
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗