Repository navigation
Conversation
cowboyd
force-pushed
the
tree-ui
branch
2 times, most recently
from
August 7, 2026 06:47
29c6340 to
db5a2b1
Compare
commit: |
cowboyd
force-pushed
the
tree-ui
branch
2 times, most recently
from
August 11, 2026 04:00
f2e54e5 to
8bec051
Compare
cowboyd
force-pushed
the
tree-ui
branch
2 times, most recently
from
August 23, 2026 17:28
4db06c2 to
b91120e
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
Author
|
closing out in favor of a DOM based substrate. See #37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The lower layers are deliberately modular, but users should not have to install every middleware subsystem and write a terminal loop before they can display an interface.
createUI()becomes the composition root that owns the Host, built-in elements, focus and input routing, layout, render scheduling, terminal output, and terminal-mode lifecycle. Raw users receive a useful runtime immediately, while framework adapters remain responsible only for reconciliation.Exposing the Host keeps the result composable: framework roots can mount at the UI root or any attached element, and multiple rendering approaches can coexist within one terminal session. Fullscreen and inline rendering remain internal policies, as do raw-mode input scanning and cleanup through explicit resource management. The initial renderer intentionally redraws the complete frame for every request, leaving coalescing and incremental rendering as future middleware improvements rather than requirements for the public API.
This PR adds
createUI(), theUIresource, the asynchronous input loop, andmain(). It composes all Host subsystems with fullscreen or relative inline rendering and restores terminal settings when disposed. It also replaces the previous one-shot root/component helpers and updates the basic example to use the composed UI.