Skip to content

bug: ctrl+v / ctrl+c does not work with WSL ubuntu #5084

Closed as duplicate

Description

@baccaraaa

Description

My Windows VDS runs WSL, which runs Ubuntu, and Opencode already runs on it. Copying and pasting text does not work within Opencode.

OpenCode version

1.0.133

Steps to reproduce

  1. Install WSL on Windows Server
  2. Install Ubuntu there
  3. Try copying or pasting text within Opencode

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04

Terminal

CMD

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 4, 2025
  2. github-actions commented on Dec 4, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Dec 5, 2025

    @rekram1-node
    Collaborator

    we will fix

  4. vincentauger commented on Dec 9, 2025

    @vincentauger

    Installing xclip on my WSL Ubuntu 24.04 and restarted OpenCode allowed me to get this working. I didn't have issues with paste Ctrl+V but couldn't copy anything.

    sudo apt install xclip

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions