Skip to content

Copypaste doesn't work properly #36646

Closed

Description

@mankeli

Description

Original issue: Copy-on-Select fails when running opencode via Tmux in Kitty terminal (Linux) #9942

this is rather annoying. I understand that fullscreen TUI interface requires to have it's custom copypaste routine, but it would be nice if it would work. Claude code (fullscreen mode) works properly on tmux. it says " copied 784 chars to tmux buffer · paste with prefix + ]" on the interface but it also gets copied to the system clipboard.

Plugins

No response

OpenCode version

1.17.18

Steps to reproduce

  1. have opencode open in tmux which is in terminal (ghostty here)
  2. select area with mouse
  3. copy, see message "Copied to Clipboard"
  4. paste via terminal, observe how nothing was copied to clipboard. paste via tmux key shortcut, it also had old contents

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jul 13, 2026

    @github-actions
    Contributor

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

    If your issue is already tracked in one of the above, please consider adding a comment there instead so the discussion stays consolidated.

  2. mankeli commented on Jul 13, 2026

    @mankeli
    Author

    this seems to fix it on tmux though,
    set -g allow-passthrough on

    I guess it could be a feature request then? Atleast it's not a bug, unless tmux support is intended feature.

  3. mankeli commented on Jul 13, 2026

    @mankeli
    Author

    Good refs, probably that #19982 atleast

  4. ayubun commented on Aug 4, 2026

    @ayubun
    Contributor

    i believe this would also be fixed by #30472

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