[BUG] Pasting text freeze
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?
Wehn I try to paste to claude it freezes on every one of my sessions, whether I open a new window or try to paste to old window still open. This happened after plaude trying to open a file that is evidently too large. Iwas forced to press ESC a few times and then this error appeared. Now my full claude is jammed, opening a new session and pasting brings the same jam.
-----------------
The text I originally tried to paste is:
⏺ Bash(which playwright 2>/dev/null || npx playwright --version 2>/dev/null || echo "not
found")
⎿ playwright not found
Version 1.58.2
⏺ Bash(npx playwright screenshot --full-page
"file:///Users/scripts/kafka-das-schloss.html"
/tmp/kafka-viewer-full.png 2>&1)
⎿ Navigating to file:///Users/scripts/kafka-das-schloss
.html
Capturing screenshot into /tmp/kafka-viewer-full.png
⏺ Read 1 file (ctrl+o to expand)
⏺ Request too large (max 20MB). Double press esc to go back and try with a smaller file.
-------------------------------
Claude Code v2.1.42
Opus 4.6 · Claude Max
Ghostty terminal
-----------------------
<img width="346" height="222" alt="Image" src="https://github.com/user-attachments/assets/e872a8c0-97f6-4190-bc33-519e5ddf20eb" />
What Should Happen?
The pasted text should be consumed by claude
Error Messages/Logs
Steps to Reproduce
⏺ Bash(which playwright 2>/dev/null || npx playwright --version 2>/dev/null || echo "not
found")
⎿ playwright not found
Version 1.58.2
⏺ Bash(npx playwright screenshot --full-page
"file:///Users/scripts/kafka-das-schloss.html"
/tmp/kafka-viewer-full.png 2>&1)
⎿ Navigating to file:///Users/scripts/kafka-das-schloss
.html
Capturing screenshot into /tmp/kafka-viewer-full.png
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.42
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗