Skip to content

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

Draft
ariane-emory wants to merge 29 commits intoanomalyco:devfrom
ariane-emory:fix/repair-disable-copy-on-select
Draft

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

Conversation

@ariane-emory
Copy link
Contributor

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

Issue for this PR

Closes #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

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Feb 18, 2026
@github-actions
Copy link
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@R44VC0RP R44VC0RP removed the needs:compliance This means the issue will auto-close after 2 hours. label Feb 18, 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

3 participants

Comments