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
opencode lastest version not copy to clipbord #17483
Why it works: OpenCode seems to use xclip as a fallback for copying to the clipboard when OSC52 fails (which happens in certain Linux terminals with Wayland).
Before this, auto-copy-on-select showed "Copied to clipboard" but never reached the clipboard. After installing xclip, it works perfectly.
Note: the solution is simple and doesn't require changing terminals or disabling Wayland. Hope this helps other users with the same issue.
Activity
github-actions commentedon Mar 14, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct, please add more details about what differs from the above.
joelceo commentedon May 20, 2026
Solution found: install xclip
sudo apt install xclip
My environment:
Why it works: OpenCode seems to use xclip as a fallback for copying to the clipboard when OSC52 fails (which happens in certain Linux terminals with Wayland).
Before this, auto-copy-on-select showed "Copied to clipboard" but never reached the clipboard. After installing xclip, it works perfectly.
Note: the solution is simple and doesn't require changing terminals or disabling Wayland. Hope this helps other users with the same issue.
github-actions commentedon Jul 20, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.