Skip to content

fix(tui): don't clear selection when OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT is enabled#137

Open
ariane-emory wants to merge 43 commits intodevfrom
fix/repair-disable-copy-on-select
Open

fix(tui): don't clear selection when OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT is enabled#137
ariane-emory wants to merge 43 commits intodevfrom
fix/repair-disable-copy-on-select

Conversation

@ariane-emory
Copy link
Copy Markdown
Owner

@ariane-emory ariane-emory commented Jan 27, 2026

Issue for this PR

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

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.

How did you verify your code works?

Manual A/B testing, bun test, bun typecheck

@ariane-emory ariane-emory force-pushed the dev branch 2 times, most recently from 4efbfcd to 8ad5262 Compare February 8, 2026 04:57
@ariane-emory ariane-emory changed the title fix: don't clear selection when OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON… fix(tui): don't clear selection when OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT is enabled Feb 22, 2026
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.

[Feature Request] Add config option to disable copy-on-select behavior

2 participants