[PR #370] [MERGED] harden input event handling #1270

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/370
Author: @kommander
Created: 11/30/2025
Status: Merged
Merged: 11/30/2025
Merged by: @kommander

Base: mainHead: harden-input-event-handling


📝 Commits (6)

📊 Changes

5 files changed (+909 additions, -6 deletions)

View changed files

📝 packages/core/src/Renderable.ts (+18 -3)
📝 packages/core/src/renderables/EditBufferRenderable.ts (+13 -2)
📝 packages/core/src/renderables/Textarea.ts (+3 -1)
packages/core/src/renderables/__tests__/Textarea.destroyed-events.test.ts (+675 -0)
packages/core/src/tests/destroy-during-render.test.ts (+200 -0)

📄 Description

No description provided


🔄 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/370 **Author:** [@kommander](https://github.com/kommander) **Created:** 11/30/2025 **Status:** ✅ Merged **Merged:** 11/30/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `harden-input-event-handling` --- ### 📝 Commits (6) - [`5814339`](https://github.com/anomalyco/opentui/commit/5814339934556cf3400fc253351d54cf0b61ee99) repro - [`6901af7`](https://github.com/anomalyco/opentui/commit/6901af7349cc34dcaf5fb3aceea36e5d8391c18d) fix some - [`e081348`](https://github.com/anomalyco/opentui/commit/e08134830d30feb8325f4951f6d628659740b933) handle destroy within event handler - [`1062247`](https://github.com/anomalyco/opentui/commit/10622474527098a3fa486f647c8748ddb15382be) cover user footgun - [`9a8732c`](https://github.com/anomalyco/opentui/commit/9a8732c7b32bceed83f6317b27519408af9be3ce) handle destroy during render pass - [`a1429d3`](https://github.com/anomalyco/opentui/commit/a1429d3fb31d75d7df84ba9da3f94053ff57cdca) stash ### 📊 Changes **5 files changed** (+909 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/Renderable.ts` (+18 -3) 📝 `packages/core/src/renderables/EditBufferRenderable.ts` (+13 -2) 📝 `packages/core/src/renderables/Textarea.ts` (+3 -1) ➕ `packages/core/src/renderables/__tests__/Textarea.destroyed-events.test.ts` (+675 -0) ➕ `packages/core/src/tests/destroy-during-render.test.ts` (+200 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:27:40 +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#1270
No description provided.