mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[GH-ISSUE #204] Support an "Inline" Rendering Mode #814
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#814
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?
Originally created by @kitlangton on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/204
I'm curious if you have considered an inline rendering mode, a la
ink/claude code:It can be pleasant, aesthetically, especially for simpler TUIs, for them to take up only as much vertical height as is required to render the view, as opposed to using an alternate buffer and spanning the full available space.
This might not be on the roadmap, and that's completely understandable! Feel free to say "nope" and close without compunction. 🙏 Thanks for the great library, either way!
@kommander commented on GitHub (Oct 8, 2025):
That is actually already supported experimentally. Check the
experimental_splitHeightoption for the renderer.It is very much experimental though, resizing the terminal has issues with it and shutdown might be weird. It hasn't been in focus yet, but will be supported going forward.
Edit: you may have to manually turn off alternate screen usage in renderer options.
@kitlangton commented on GitHub (Oct 8, 2025):
You rock!
Claude Code (or maybe ink beneath it) seems to clear the buffer and go full height on resize. Not sure if that technique would help here 😄
@kommander commented on GitHub (Oct 8, 2025):
There are definitely solutions that will solve it, just a matter of time. The renderer is missing sync activation currently as well, so it might flicker in some terminals. That will also be solved.
@stromseng commented on GitHub (Mar 11, 2026):
Are there any updates on this feature?