Lost context to pasted text
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: anthropic api
- Claude CLI version: 1.0.11
- Operating System: Macos 15.5
- Terminal: iTerm2
Bug Description
- I gave an input prompt to claude code
- It started working on it.
- I pasted some large content in the input box where it says: [Pasted text # 1 +1198 lines]
- Since the existing prompt was being processed and it wanted to use a tool, it asked me for permission
- I gave the permission and when it stopped processing the current prompt, i sent my prewritten message with large text
- My message was not expanded. it was sent as the string "[Pasted text # 1 +1198 lines]"
- Apparantly it lost the context to what i actually pasted.
Steps to Reproduce
Mentioned above
Expected Behavior
It should have the context of the large text that was pasted
Actual Behavior
it lost the actual text that was pasted and remembered the string "[Pasted text #1 +1198 lines]" instead
Additional Context
https://github.com/user-attachments/assets/adf6f734-c111-47a9-8e28-e8547d4021e3
Had claude code been open sourced I would have loved to work on these issues :(
Thanks for your report! I can investigate a solution so you can get back to building cool stuff.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.