[BUG] Terminal Freezes on Paste - Works If I don't paste the 1st word or the last word.
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?
Claude Code 2.1.63 completely freezes on paste - MacOS latest release on Cursor 2.5.26, when I paste:
`Not fully. I agree with the intent, but I see a few issues in README.md:
- [MEDIUM] “Script Inventory” is misleadingly incomplete
The table lists 2 scripts, but the directory contains many more. If this is meant as “all scripts,” it’s incorrect and can mislead
operators.
Evidence: README.md:74
- [LOW] The “hangs silently” explanation is overstated/inaccurate
Missing PYTHONPATH can definitely break imports, but claiming it causes asyncio to “hang silently” is too absolute and not generally
true.
Evidence: README.md:41
- [LOW] Prod command pattern can leak secrets in shell history
Inline DATABASE_URL_ASYNC="...<password>..." is operationally risky unless users are explicitly told to use a safer secret-injection
method.
Evidence: README.md:23
What I do agree with:
- docker exec -w /app -e PYTHONPATH=/app ... is a solid execution pattern for these scripts.
- Keeping these scripts outside startup/Alembic is appropriate for one-off ops.`
What Should Happen?
Claude Code shouldn't freeze when pasting this into the terminal. It allows paste without the 1st word or the last word but if I send the whole thing it locks up the terminal.
Error Messages/Logs
No errors, completely freezes.
Steps to Reproduce
Paste the entire snippet and see if it freezes. For me, it doesn't freeze when I remove the 1st word or the last word but it does with the whole thing.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.63
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Cursor
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗