opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: enable primary clipboard copy for Wayland/X11 to fix Linux middle-click paste

Open mickalpine opened this issue 3 weeks ago • 0 comments

Summary

Fixes #6110: Adds optional config clipboard.linux.enablePrimaryCopy to enable primary clipboard copying in Wayland/X11, fixing Linux middle-click paste by populating both regular and primary selections without changing default behavior.

Changes

  • Added config schema in config.ts.
  • Updated clipboard.ts for conditional primary copying.

Labels: bug, opentui

mickalpine avatar Dec 29 '25 16:12 mickalpine