Skip to content

fix(tui): report linux clipboard copy failures#1412

Open
YOMXXX wants to merge 1 commit into
XiaomiMiMo:mainfrom
YOMXXX:fix/1406-linux-clipboard-failure
Open

fix(tui): report linux clipboard copy failures#1412
YOMXXX wants to merge 1 commit into
XiaomiMiMo:mainfrom
YOMXXX:fix/1406-linux-clipboard-failure

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 27, 2026

Copy link
Copy Markdown

Summary

  • try available Linux clipboard helpers in order and fall back after helper failures
  • surface an actionable install hint instead of treating failed clipboard writes as success
  • show clipboard error messages in session copy actions

Fixes #1406

Verification

  • bun test test/cli/tui/clipboard.test.ts --timeout 30000
  • bun typecheck
  • git diff --check

Note: the normal pre-push hook runs repo-wide bun turbo typecheck and fails in this local worktree because @typescript/native-preview-darwin-x64 is missing on disk; package-local packages/opencode typecheck passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Linux] Copy button silently fails when xsel is not installed

1 participant