Claude Code freezes when pasting text copied from JetBrains IDE

Resolved 💬 4 comments Opened Feb 15, 2026 by koshak01 Closed Mar 16, 2026

Description

Claude Code terminal freezes/hangs when pasting text copied from JetBrains IDE (e.g., PyCharm, WebStorm, IntelliJ IDEA). This happens regardless of the amount of text — both small and large snippets cause the freeze.

Steps to Reproduce

  1. Open a file in JetBrains IDE
  2. Select and copy code (Cmd+C / Ctrl+C)
  3. Switch to Claude Code terminal
  4. Paste the copied text (Cmd+V / Ctrl+V)
  5. Claude Code freezes — no response, no input accepted

Expected Behavior

Pasted text should appear in the input field normally.

Actual Behavior

Claude Code becomes completely unresponsive. The only way to recover is to close and reopen the terminal.

Environment

  • OS: macOS (Darwin 25.2.0)
  • JetBrains IDE: PyCharm / WebStorm (latest)
  • Claude Code: latest version

Notes

  • Copying from other applications (browser, VS Code, plain text editors) works fine
  • JetBrains copies rich text / HTML to clipboard alongside plain text, which may be causing the issue

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗