Skip to content

fix(opentui): question selection click when terminal unfocused#9731

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
maharshi365:fix/question-selection-click
Jan 24, 2026
Merged

fix(opentui): question selection click when terminal unfocused#9731
rekram1-node merged 1 commit intoanomalyco:devfrom
maharshi365:fix/question-selection-click

Conversation

@maharshi365
Copy link
Contributor

Summary

  • Fixes clicking on question selection options when terminal is unfocused selecting the wrong (first) option
  • Adds onMouseDown handlers to update selection immediately on click, before onMouseUp triggers the action

Fixes #9730

@github-actions
Copy link
Contributor

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

No duplicate PRs found

@maharshi365
Copy link
Contributor Author

Screen.Recording.2026-01-20.192213.mp4

@rekram1-node
Copy link
Collaborator

/review

@github-actions
Copy link
Contributor

lgtm

@rekram1-node rekram1-node merged commit 8f99e9a into anomalyco:dev Jan 24, 2026
4 of 5 checks passed
cristian1991 pushed a commit to cristian1991/opencode that referenced this pull request Jan 24, 2026
@maharshi365 maharshi365 deleted the fix/question-selection-click branch January 25, 2026 16:50
xenonwellz pushed a commit to xenonwellz/opencode that referenced this pull request Jan 28, 2026
xenonwellz pushed a commit to xenonwellz/opencode that referenced this pull request Jan 28, 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.

Question selection click selects wrong option when terminal is unfocused

2 participants