Skip to content

feat(tui): make the mouse disablable (#6824, #7926)#13748

Draft
blackheaven wants to merge 1 commit intoanomalyco:devfrom
blackheaven:disablable-mouse
Draft

feat(tui): make the mouse disablable (#6824, #7926)#13748
blackheaven wants to merge 1 commit intoanomalyco:devfrom
blackheaven:disablable-mouse

Conversation

@blackheaven
Copy link

@blackheaven blackheaven commented Feb 15, 2026

What does this PR do?

Closes #6824 and #7926

I have added a way to disable mouse all along:

Add a configuration option to disable mouse capture entirely:

// opencode.json
{
"tui": {
"mouse": false
}
}
Or via environment variable:

OPENCODE_DISABLE_MOUSE=true opencode

How did you verify your code works?

I did not test yet.

@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:

Based on the search results, I found one potentially related PR:

PR #6329: feat(tui): add disable_mouse option for Linux right-click paste support
#6329

This appears to be directly related to the current PR #13748. It also adds a feature to disable mouse functionality in the TUI, specifically for Linux right-click paste support. It may already implement the mouse disabling configuration that PR #13748 is addressing, and could be a duplicate or supersede this work.

@blackheaven
Copy link
Author

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

Based on the search results, I found one potentially related PR:

PR #6329: feat(tui): add disable_mouse option for Linux right-click paste support #6329

This appears to be directly related to the current PR #13748. It also adds a feature to disable mouse functionality in the TUI, specifically for Linux right-click paste support. It may already implement the mouse disabling configuration that PR #13748 is addressing, and could be a duplicate or supersede this work.

Not really, think one disable the mouse all along, not just the paste

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]: add a settings to disable mouse

1 participant