[PR #10897] fix(tui): don't clear selection when OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT is enabled #13597

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

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

State: open
Merged: No


i### What does this PR do?

When Opencode is started with the OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT flag set, text will not be immediately unselected after being selected.

Resolves #10490. (or at least seriously mitigates the secondary issue described in the its comments)

How did you verify your code works?

Manual A/B testing, bun test, bun typecheck

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10897 **State:** open **Merged:** No --- i### What does this PR do? When Opencode is started with the `OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT` flag set, text will not be immediately unselected after being selected. Resolves #10490. (or at least seriously mitigates the secondary issue described in the its comments) ### How did you verify your code works? Manual A/B testing, `bun test`, `bun typecheck`
yindo added the pull-request label 2026-02-16 18:18:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13597