[BUG] Paste broken in terminal.app
Status Closed — not planned
Reported on v2.1.193
Maintainer reply ✓ Yes — bcherny
Activity 4 comments · opened Jul 5, 2026 · closed Aug 24, 2026
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
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?
Paste in Claude Code is broken Shows 'h G2' instead of pasted text ; paste works as zsh prompt but not inside claude code. Show a line --------- G2.
What Should Happen?
It should allow me to normally copy and paste like it has up until this point.
Error Messages/Logs
----- G2
Steps to Reproduce
I dont know honestly
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.193
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
4 Comments
Thanks for the report. I tried to reproduce this on the current release (2.1.233) in macOS Terminal.app: pasting a 2-line snippet with Cmd+V inserted the text into the prompt correctly, and pasting 30 lines showed the usual
[Pasted text #1 +30 lines]placeholder. I couldn't geth G2or a----- G2line to appear.Since the steps aren't known yet, could you share a bit more so we can dig in?
claude update, thenclaude --version)?helloalso break?claude doctor, and your Terminal.app profile's Advanced settings (terminal type, "Paste newlines as CR", etc.).If you can capture a screenshot or
/sharelink from a session where it happens, that would help a lot.🤖 Generated with Claude Code
We weren't able to reproduce this. Could you provide steps to trigger the issue — what you ran, what happened, and what you expected? This issue will be closed automatically if there's no activity within 7 days.
Closing for now — we still need reproduction steps to investigate. Please open a new issue if this is still relevant.
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.