[BUG] /copy command reports success but clipboard is empty (Windows)
Resolved 💬 1 comment Opened Jun 24, 2026 by menagio-app Closed Jun 24, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Expected: content available via Ctrl+V
Actual: clipboard empty, even though command prints "Copied to clipboard (N characters)"
What Should Happen?
Environment:
- OS: Windows 11
- Claude Code: [v2.1.187]
- Shell: PowerShell / Git Bash
Steps to reproduce:
- Run any prompt in Claude Code
- Run /copy
Expected: content available via Ctrl+V
Actual: clipboard empty, even though command prints "Copied to clipboard (N characters)"
Additional context:
- clip.exe works fine in terminal (echo test | clip)
- Workaround: file written to %TEMP%\claude\response.md works
Error Messages/Logs
Steps to Reproduce
Steps to reproduce:
- Run any prompt in Claude Code
- Run /copy
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
v2.1.185
Claude Code Version
v2.1.187
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗