Skip to content

opencode lastest version not copy to clipbord #17483

Closed as not planned
Closed as not planned

Description

@PedroFavaro8

Description

I tried to copy some texts in a GitHub 'codespaces' coding environment but it simply doesn't copy

Plugins

none

OpenCode version

lastest

Steps to reproduce

create a codespace
install opencode via npm on the codespace in the web
try to copy anything of the output of a message

Screenshot and/or share link

No response

Operating System

ubunto

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Mar 14, 2026
  2. github-actions commented on Mar 14, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct, please add more details about what differs from the above.

  3. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  4. joelceo commented on May 20, 2026

    @joelceo

    Solution found: install xclip

    sudo apt install xclip
    My environment:

    • Ubuntu 26.04 + Ptyxis + Wayland
    • OpenCode 1.15.5
    • No multiplexers (tmux/zellij)

    Why it works: OpenCode seems to use xclip as a fallback for copying to the clipboard when OSC52 fails (which happens in certain Linux terminals with Wayland).
    Before this, auto-copy-on-select showed "Copied to clipboard" but never reached the clipboard. After installing xclip, it works perfectly.
    Note: the solution is simple and doesn't require changing terminals or disabling Wayland. Hope this helps other users with the same issue.

  5. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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