Terminal freezes on paste in Cursor integrated terminal (M2 Max, macOS 26.3)

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Mar 14, 2026 · closed Mar 14, 2026

Description

Since updating to Claude Code v2.1.76 (the 1M context window release), pasting any text into the Claude Code prompt freezes the terminal completely when running inside Cursor's integrated terminal. The cursor becomes unresponsive — no typing, no shortcuts, no mouse input. The only recovery is to kill the terminal session and start a new one.

This does NOT happen in iTerm2 — pasting works normally in a standalone terminal. The issue is specific to Cursor's integrated terminal.

Steps to Reproduce

  1. Open Cursor on an Apple Silicon Mac
  2. Open the integrated terminal in Cursor
  3. Launch Claude Code (claude)
  4. Copy any text to the clipboard (from a browser, editor, etc.)
  5. Focus the Claude Code terminal and paste (Cmd+V)

Expected Behavior

The copied text appears at the Claude Code prompt.

Actual Behavior

  • Nothing is pasted
  • The terminal becomes completely frozen
  • No further keyboard or mouse input is accepted
  • Must kill the terminal and restart to recover

Environment

| Detail | Value |
|---|---|
| Claude Code | v2.1.76 |
| macOS | 26.3.1 (Build 25D2128, Darwin arm64 25.3.0) |
| Hardware | Apple M2 Max MacBook |
| Node.js (system) | v24.2.0 |
| Cursor | 2.6.19 (Universal), Stable, Default track |
| VSCode base | 1.105.1 |
| Electron | 39.4.0 |
| Chromium | 142.0.7444.265 |
| Node.js (Cursor) | 22.22.0 |

Workaround

Use a standalone terminal (iTerm2, Terminal.app) instead of Cursor's integrated terminal. Pasting works normally there.

Notes

  • This began with v2.1.76. Did not occur on prior versions.
  • Only reproducible in Cursor's integrated terminal — iTerm2 works fine.
  • Suggests a possible interaction between the new release and Cursor's terminal emulator (xterm.js / Electron).

View original on GitHub ↗

4 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/32443
  2. https://github.com/anthropics/claude-code/issues/31318
  3. https://github.com/anthropics/claude-code/issues/25893

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

kelfra · 7 months ago

Different version of Claude Code - v2.1.76. Updated as an experiment mid-session, workflow involved copying/pasting some plans as typical.

kelfra · 7 months ago

Seems intermittent. Investigating further.

github-actions[bot] · 6 months ago

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.