Skip to content

/share does not copy to clipboard in tui #327

Closed

Description

@mohak34

The /share command does not work when i use it in the tui. This could probably be an issue with the clipboard package and wayland. When i use the --share flag, the link works. I'm using cliphist as the clipboard manager.

Using opencode version v0.1.121 on hyprland in arch.

Activity

  1. markjaquith commented on Jun 23, 2025

    @markjaquith
    Contributor

    FWIW it also doesn't work for me in macOS.

  2. mhuggins7278 commented on Jun 25, 2025

    @mhuggins7278
    Contributor

    Also just ran into this today.
    MacOS and Ghostty for my terminal.
    Also running inside a tmux session.

  3. matallui commented on Jun 25, 2025

    @matallui

    Same issue for me on macOS, running in Alacritty inside tmux sessino.

  4. mohak34 commented on Jul 3, 2025

    @mohak34
    ContributorAuthor

    I found the solution for this. When using it inside a tmux session, add this in the .tmux.conf file.

    set-option -g set-clipboard on

    This worked for me when i added this in my tmux configuration file

  5. added a commit that references this issue on May 12, 2026
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