anomalyco / anomalyco/opencode
“Copied to clipboard” doesn't work
@simonklee is already working on this.
Since Aug 10, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When using OpenCode inside VSCode Server (Docker environment), copying text from an OpenCode session shows the message Copied to clipboard, but the text is not actually copied to the system clipboard and cannot be pasted elsewhere.
Plugins
None
OpenCode version
1.18.14
Steps to reproduce
- Start VSCode Server inside a Docker container.
- Run OpenCode 1.18.14 in VSCode Server.
- Select some text in an OpenCode session and copy it.
- OpenCode displays: [Copied to clipboard]
- Try to paste the copied text into another application, terminal, or editor.
Expected Behavior:
After copying, the selected text should be available in the system clipboard and should be possible to paste into other applications or terminals.
Actual Behavior:
Although OpenCode displays: [Copied to clipboard], the text is not actually copied to the clipboard, and nothing can be pasted elsewhere.
Screenshot and/or share link
No response
Operating System
Linux version 5.15.0-164-generic (buildd@lcy02-amd64-114) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025
Terminal
bash
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.