-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
opentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
After upgrading from v1.1.13 to v1.1.14, clipboard copy only works the first time. Subsequent copy operations fail silently (shows "Copied to clipboard" but nothing is actually copied).
Works in: v1.1.13 ✅
Broken in: v1.1.14 ❌
Environment
- OS: macOS (running OpenCode in Docker container via OrbStack)
- Terminal: Ghostty
- OpenCode version: 1.1.14
Ghostty config
copy-on-select = clipboard
clipboard-read = allow
clipboard-write = allow
Steps to Reproduce
- Start OpenCode v1.1.14 in Docker container
- Select text and copy (first time) → ✅ Works
- Select different text and copy (second time) → ❌ Fails
- Subsequent copies continue to fail
Expected Behavior
All copy operations should work consistently, as they did in v1.1.13.
Suspected Cause
This regression may be related to mouse interaction changes introduced in v1.1.14:
- feat(tui): add mouse hover and click support to autocomplete #7820:
feat(tui): add mouse hover and click support to autocomplete - feat(tui): add mouse hover and click support to questions tool #7905:
feat(tui): add mouse hover and click support to questions tool
Related Issues
- fix(tui): prevent UI freezes from clipboard operations and event loop #7395:
fix(tui): prevent UI freezes from clipboard operations and event loop(addresses Bun GC bug) - Copy Text "Copied to clipboard" does never work #7048:
Copy Text "Copied to clipboard" does never work
Workaround
Downgrade to v1.1.13
Metadata
Metadata
Assignees
Labels
opentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui