opencode icon indicating copy to clipboard operation
opencode copied to clipboard

X Window (xorg) middle-click paste doesn't work

Open skypher opened this issue 3 weeks ago • 2 comments

Description

Using xterm. I can't paste using middle-click. It works fine with other apps, incl. Claude Code, Codex CLI, Gemini CLI. Probably the app is grabbing mouse events.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

skypher avatar Dec 23 '25 23:12 skypher

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

  • #4754: Copy and Paste behaviour under Linux (directly mentions middle-click paste and mouse event issues)
  • #3684: [FEATURE]: On Linux/Wayland allow pasting with middle click

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

github-actions[bot] avatar Dec 23 '25 23:12 github-actions[bot]

Related to https://github.com/sst/opencode/issues/4754 but this is about middle-click paste, not wrong buffer or select to copy.

Related to https://github.com/sst/opencode/issues/3684 but this is about Xorg not Wayland.

skypher avatar Dec 23 '25 23:12 skypher