mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #42] [MERGED] Make it so you can now write text anywhere using solid #243
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#243
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/42
Author: @fezproof
Created: 8/19/2025
Status: ✅ Merged
Merged: 8/19/2025
Merged by: @kommander
Base:
main← Head:imporve-text-nodes📝 Commits (6)
c88eba0Installce915a9Added reconciler code to support ghost text nodes01b0ceeRemove some magic strings323267eFix rerendering buga16e33dUpdate text style demo to handle unparented textc10631bFix prepend to node not checking for ghost📊 Changes
4 files changed (+135 additions, -62 deletions)
View changed files
📝
bun.lock(+16 -16)📝
packages/core/src/renderables/Text.ts(+1 -1)📝
packages/solid/examples/components/text-style-demo.tsx(+5 -1)📝
packages/solid/src/reconciler.ts(+113 -44)📄 Description
Add "ghost" text nodes if the text parent is not a text renderable
Handle cleanup of text nodes
Handle anchoring to text nodes properly
Fix bug where text is not updating properly
Let me know if you want me to clean up this code, its a bit messy
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.