Skip to content

“Copied to clipboard” doesn't work #41470

Description

@WqxLoveCoding

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

  1. Start VSCode Server inside a Docker container.
  2. Run OpenCode 1.18.14 in VSCode Server.
  3. Select some text in an OpenCode session and copy it.
  4. OpenCode displays: [Copied to clipboard]
  5. 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

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions