[PR #679] [MERGED] fix(mouse): parse all mouse sequences from batched stdin chunks #1488

Closed
opened 2026-03-14 09:39:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/679
Author: @simonklee
Created: 2/12/2026
Status: Merged
Merged: 2/17/2026
Merged by: @kommander

Base: mainHead: fix-mouse-move


📝 Commits (6)

  • 0c8fdbe fix(mouse): parse all mouse sequences from batched stdin chunks
  • 20e0dc9 Merge branch 'main' into fix-mouse-move
  • ae1ceba Merge branch 'main' into fix-mouse-move
  • f86b8ba Merge branch 'main' into fix-mouse-move
  • e62aa89 Merge branch 'main' into fix-mouse-move
  • b7b6f51 Merge branch 'main' into fix-mouse-move

📊 Changes

4 files changed (+439 additions, -233 deletions)

View changed files

📝 packages/core/src/lib/parse.mouse.test.ts (+119 -0)
📝 packages/core/src/lib/parse.mouse.ts (+182 -87)
📝 packages/core/src/renderer.ts (+137 -128)
📝 packages/core/src/testing/integration.test.ts (+1 -18)

📄 Description

Handle multiple mouse sequences in a single data event; previously only the first sequence was handled, dropping motion/scroll updates (including URxvt 96/97 patterns).


🔄 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/679 **Author:** [@simonklee](https://github.com/simonklee) **Created:** 2/12/2026 **Status:** ✅ Merged **Merged:** 2/17/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix-mouse-move` --- ### 📝 Commits (6) - [`0c8fdbe`](https://github.com/anomalyco/opentui/commit/0c8fdbeb33c9f27435b82529805ffa1f9a3bdec6) fix(mouse): parse all mouse sequences from batched stdin chunks - [`20e0dc9`](https://github.com/anomalyco/opentui/commit/20e0dc9dd87dc29a5cdd5790e68b215450b2ef32) Merge branch 'main' into fix-mouse-move - [`ae1ceba`](https://github.com/anomalyco/opentui/commit/ae1ceba650fe0f8b9e2b51e8cfd4968e2a5f501d) Merge branch 'main' into fix-mouse-move - [`f86b8ba`](https://github.com/anomalyco/opentui/commit/f86b8ba9b3fceb28e36963c73b0c56d38a202213) Merge branch 'main' into fix-mouse-move - [`e62aa89`](https://github.com/anomalyco/opentui/commit/e62aa89b45d496259526532617c4d19e98ee9d17) Merge branch 'main' into fix-mouse-move - [`b7b6f51`](https://github.com/anomalyco/opentui/commit/b7b6f51156cc6b1d0e23cfa3510fbdb285975cf7) Merge branch 'main' into fix-mouse-move ### 📊 Changes **4 files changed** (+439 additions, -233 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/lib/parse.mouse.test.ts` (+119 -0) 📝 `packages/core/src/lib/parse.mouse.ts` (+182 -87) 📝 `packages/core/src/renderer.ts` (+137 -128) 📝 `packages/core/src/testing/integration.test.ts` (+1 -18) </details> ### 📄 Description Handle multiple mouse sequences in a single data event; previously only the first sequence was handled, dropping motion/scroll updates (including URxvt 96/97 patterns). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:39:31 +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#1488
No description provided.