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
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 Feb 9, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
WolfgangFahl commentedon Mar 1, 2026
currently 2026-03-01 the clipboard handling on MacOS seems to even breaksdefault MacOS clipboard behavior. A true nightmare!
bcdurden commentedon Apr 12, 2026
confirmed still broken on MacOS.
nitishdhar commentedon Apr 17, 2026
Confirmed still broken on MacOS
fatso1000 commentedon Apr 23, 2026
Not working on MacOS
LPFchan commentedon May 24, 2026
sorry this is a macos-specific thread
c3qo commentedon Jun 1, 2026
I use tmux+nvim+opencode (invoked by sidekick.nvim) on macos, no xclip installed
add this in tmux.conf
run
tmux kill-serverthen restart tmux+opencode. it would work. I use kitty+ssh to connect the macos remotely.
I also tested kitty+opencode without tmux, it works too.
github-actions commentedon Aug 3, 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.