[PR #11893] fix(clipboard): report actual copy result instead of always showing success #13974

Open
opened 2026-02-16 18:18:47 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11893

State: open
Merged: No


Previously clipboard copy operations silently swallowed errors, showing
"Copied to clipboard" even when the copy failed. This was confusing on
Linux systems without xclip/xsel/wl-copy installed.

Changes:

  • Check exit codes for all clipboard commands
  • Throw descriptive errors on failure
  • Show clear error message when no clipboard tool is available on Linux
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11893 **State:** open **Merged:** No --- Previously clipboard copy operations silently swallowed errors, showing "Copied to clipboard" even when the copy failed. This was confusing on Linux systems without xclip/xsel/wl-copy installed. Changes: - Check exit codes for all clipboard commands - Throw descriptive errors on failure - Show clear error message when no clipboard tool is available on Linux
yindo added the pull-request label 2026-02-16 18:18:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13974