Skip to content

fix(mouse): mouse event parse + tests#669

Merged
kommander merged 1 commit intomainfrom
mouse-events
Feb 11, 2026
Merged

fix(mouse): mouse event parse + tests#669
kommander merged 1 commit intomainfrom
mouse-events

Conversation

@simonklee
Copy link
Collaborator

I did not test the 661 in a X11 env since i'm on wayland, lets see if reporter
can confirm the fix otherwise i can try in a VM later

- Added a bunch of tests for mouse parsing
- Fixed the missing motion/drag detection causing issue in #661

I did not test the 661 in a X11 env since i'm on wayland, lets see if reporter
can confirm the fix otherwise i can try in a VM later
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 10, 2026

@opentui/core

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core@669

@opentui/react

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/react@669

@opentui/solid

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/solid@669

@opentui/core-darwin-arm64

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core-darwin-arm64@669

@opentui/core-darwin-x64

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core-darwin-x64@669

@opentui/core-linux-arm64

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core-linux-arm64@669

@opentui/core-linux-x64

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core-linux-x64@669

@opentui/core-win32-arm64

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core-win32-arm64@669

@opentui/core-win32-x64

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core-win32-x64@669

commit: ff63242

@kommander
Copy link
Collaborator

Could it break existing behavior?

@simonklee
Copy link
Collaborator Author

Could it break existing behavior?

The current implementation actually is broken. Since we didn’t parse the bit it gets interpreted as down event. Most terminals support the other mode so this issue isn’t noticed unless you have x11 and use urxvt or something similar.

@kommander kommander merged commit 5739666 into main Feb 11, 2026
16 checks passed
@kommander kommander deleted the mouse-events branch February 11, 2026 08:46
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.

2 participants