You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e033f7b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tui): add wl-paste text read for Wayland systems
Merge upstream/dev and re-apply Wayland clipboard fix to new file location.
The original PR (anomalyco#29881) modified packages/opencode/src/cli/cmd/tui/util/clipboard.ts
which was moved to packages/tui/src/clipboard.ts during the TUI package extraction.
The clipboard read() function tries wl-paste for images on Linux, but falls back
to clipboardy (xsel) for text. On Wayland systems without xsel, text paste
silently fails. Add a wl-paste text read path before the clipboardy fallback,
guarded by WAYLAND_DISPLAY, mirroring the existing write path.
Closesanomalyco#29880
0 commit comments