claude-code - 💡(How to fix) Fix [BUG] /copy command: clipboard copy not working on Windows 11

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The /copy command reports success ("Copied to clipboard (N characters, N lines)") but the content is not actually placed on the system clipboard on Windows 11.

Root Cause

The /copy command reports success ("Copied to clipboard (N characters, N lines)") but the content is not actually placed on the system clipboard on Windows 11.

RAW_BUFFERClick to expand / collapse

Description

The /copy command reports success ("Copied to clipboard (N characters, N lines)") but the content is not actually placed on the system clipboard on Windows 11.

Steps to reproduce

  1. Run a prompt that produces a multi-block response (e.g., two email drafts in separate code blocks)
  2. Run /copy
  3. The command outputs: Copied to clipboard (2122 characters, 43 lines)
  4. Attempt to paste — clipboard is empty or contains old content

Expected behavior

The last response is copied to the system clipboard so it can be pasted into another application.

Actual behavior

The command reports success but the clipboard does not contain the response content.

Environment

  • OS: Windows 11 Home 10.0.26200
  • Shell: PowerShell 7 (pwsh)
  • Claude Code: CLI

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The last response is copied to the system clipboard so it can be pasted into another application.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING