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
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
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