[PR #669] [MERGED] fix(mouse): mouse event parse + tests #700

Closed
opened 2026-03-02 23:47:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/669
Author: @simonklee
Created: 2/10/2026
Status: Merged
Merged: 2/11/2026
Merged by: @kommander

Base: mainHead: mouse-events


📝 Commits (1)

  • ff63242 fix(mouse): mouse event parse + tests

📊 Changes

2 files changed (+430 additions, -0 deletions)

View changed files

packages/core/src/lib/parse.mouse.test.ts (+426 -0)
📝 packages/core/src/lib/parse.mouse.ts (+4 -0)

📄 Description

  • 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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/669 **Author:** [@simonklee](https://github.com/simonklee) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/11/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `mouse-events` --- ### 📝 Commits (1) - [`ff63242`](https://github.com/anomalyco/opentui/commit/ff63242587d73cfefdb1a4258e421443ce719171) fix(mouse): mouse event parse + tests ### 📊 Changes **2 files changed** (+430 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `packages/core/src/lib/parse.mouse.test.ts` (+426 -0) 📝 `packages/core/src/lib/parse.mouse.ts` (+4 -0) </details> ### 📄 Description - 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:47:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#700
No description provided.