[BUG] Regression: Pasting text in CLI hangs and crashes (broken since 2.1.70, worked in 2.1.69)
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?
Environment:
- Claude Code version: 2.1.70
- Previous working version: 2.1.69
- OS: macOS 26.2 (Tahoe), Build 25C56, Darwin 25.2.0 arm64 (Apple Silicon)
- Terminal: VS Code integrated terminal v2.5.26
- Shell: zsh 5.9
- Node.js: v22.17.0
- npm: 10.9.2
Description:
Pasting text into the Claude Code CLI is broken since updating from 2.1.69 to 2.1.70. When pasting even a small amount of text (~5 lines), the CLI hangs for an extended period and then crashes. This was fully functional on 2.1.69.
Actual behavior:
Pasting even small amounts of text (~5 lines) causes the CLI to hang indefinitely, followed by a crash.
What Should Happen?
Expected behavior:
Text pastes instantly and Claude processes it normally (as it did in 2.1.69).
Error Messages/Logs
Steps to Reproduce
Steps to reproduce:
- Open Claude Code 2.1.70 in VS Code integrated terminal on macOS
- Copy ~5 lines of text to clipboard
- Paste into the Claude Code CLI input
- Observe: input hangs/freezes for a long time
- Eventually Claude crashes
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.69
Claude Code Version
2.1.70
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗