Skip to content

Share URL isn't copied to system clipboard in TMUX #576

Closed

Description

@AVGVSTVS96

I use TMUX with the tmux-yank plugin, noticed that the share URL isn't copied to the system clipboard in when opencode is opened in TMUX.

I'm not sure if this is in scope for opencode, but it would be great to enable a way for TMUX users to be able to view and copy the shareable URL.

Activity

  1. thdxr commented on Jul 1, 2025

    @thdxr
    Member

    i use tmux over ssh and it just works without any plugins

    this setup is finnicky though - requires OSC codes to propagate from tmux through ssh through to terminal

  2. Sir-Goose commented on Jul 1, 2025

    @Sir-Goose

    i had the same problem. not sure what your setup looks like but i just had to add this to my tmux config:
    set-option -g set-clipboard on

  3. wienans commented on Jul 1, 2025

    @wienans
    Contributor

    Similar issue with Terminator https://gnome-terminator.org/

  4. AVGVSTVS96 commented on Jul 3, 2025

    @AVGVSTVS96
    Author

    i had the same problem. not sure what your setup looks like but i just had to add this to my tmux config: set-option -g set-clipboard on

    That worked, thanks!

  5. adamdotdevin commented on Jul 8, 2025

    @adamdotdevin
    Member

    i'm going to close this. see #576 (comment) for tmux workaround, but i also made improvements today to support native clipboard operations and only fallback to OSC codes, so this should be more reliable on more systems/setups.

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