mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[GH-ISSUE #96] Support for textOverflow: 'truncate' in text #791
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#791
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 @remorses on GitHub (Aug 28, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/96
I would love to have this feature built into opentui. Currently text overflows and it can go over other elements.
The API in React could look something like
@kommander commented on GitHub (Aug 28, 2025):
How does the layout for this look like? If the texts are in the same parent in a row it should
truncatecut off the text, when using a TextRenderable or text component.@kommander commented on GitHub (Jan 18, 2026):
There is a
truncate: booleanoption on Text Renderables now. Can be iterated, but basics are there.