VS Code tab freezes after copying text from Claude Code output

Status Closed — not planned
Reported on v2.1.52
Maintainer reply None cached
Activity 2 comments · opened Feb 24, 2026 · closed Mar 24, 2026

Description

VS Code terminal tab consistently freezes/hangs after copying text from Claude Code output. After the freeze, if the terminal is dropped/killed, the session is not saved and cannot be resumed.

Steps to reproduce

  1. Run Claude Code in VS Code integrated terminal
  2. Have a conversation with some output
  3. Copy text from Claude Code output (Cmd+C / Ctrl+C on selected text)
  4. VS Code tab becomes unresponsive/frozen

Expected behavior

  • Copying text should not freeze the terminal tab
  • If terminal crashes/is killed, session should still be recoverable via claude --resume

Actual behavior

  • Terminal tab freezes completely after copy operation
  • Session state is lost — cannot resume after dropping the frozen terminal

Environment

  • Claude Code version: 2.1.52
  • OS: macOS (Darwin 24.6.0)
  • VS Code: integrated terminal
  • Shell: zsh

Frequency

Happens consistently/reproducibly.

View original on GitHub ↗

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