Skip to content

[BUG] Copying text (Ctrl+C) from Claude Code window in VS Code fails #43477

Description

@NeilTalbott

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

While using Claude Code in VS Code, copying text (Ctrl+C) from a Claude Code window in VS Code no longer works. Right-click > Copy copies no text to the clipboard. This is true in the main window and the prompt textbox. I can type a prompt but I cannot copy (or cut) the text I have typed.

Attempted focus changes, starting a new Claude Code session, etc, do not help. Ctrl+V (Paste) works correctly.

Restarting VS Code resolved the problem (for now), but this was highly disruptive in the middle of a complex session.

VS Code v1.114.0
OS: Windows_NT x64 10.0.19045 (Windows 10 Pro)

What Should Happen?

Ctrl+C (and context menu equivalent) should work correctly from the main Claude Code window and the prompt textbox. Ctrl+X and Ctrl+P should also work in the prompt textbox.

Error Messages/Logs

Steps to Reproduce

No reliable reproduction steps known. Restarting VS Code resolved the problem, but this was highly disruptive.

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.92

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:idebugSomething isn't workingplatform:vscodeIssue specifically occurs in VS Codeplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions