mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #285] [MERGED] fix: Exception when selecting text on destroyed component #422
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#422
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/285
Author: @veracioux
Created: 11/9/2025
Status: ✅ Merged
Merged: 11/19/2025
Merged by: @kommander
Base:
main← Head:fix/selection-destroyed-buffer📝 Commits (5)
d4743b3fix: Exception when selecting text on destroyed componentddfe733Revert "fix: Exception when selecting text on destroyed component"1849d3bMerge remote-tracking branch 'upstream/main' into fix/selection-destroyed-buffer723a877fix: Prevent errors when selecting destroyed renderable04599abtest: Add "selection should not throw" test📊 Changes
3 files changed (+51 additions, -1 deletions)
View changed files
📝
packages/core/src/lib/selection.ts(+1 -0)📝
packages/core/src/renderer.ts(+1 -1)➕
packages/core/src/tests/renderer.selection.test.ts(+49 -0)📄 Description
Fixes https://github.com/sst/opencode/issues/4099.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.