[GH-ISSUE #88] Support for wrapping text or flexWrap #21

Closed
opened 2026-03-02 23:43:54 +03:00 by kerem · 2 comments
Owner

Originally created by @remorses on GitHub (Aug 26, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/88

I would like to wrap some long text instead of the text being clipped

Maybe this could be implemented using flexWrap: 'wrap' and the user can manually split the text words into many text elements, so there is no need for whitespace: 'wrap' kind of attributes.

Originally created by @remorses on GitHub (Aug 26, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/88 I would like to wrap some long text instead of the text being clipped Maybe this could be implemented using `flexWrap: 'wrap'` and the user can manually split the text words into many text elements, so there is no need for `whitespace: 'wrap'` kind of attributes.
kerem 2026-03-02 23:43:54 +03:00
Author
Owner

@kommander commented on GitHub (Aug 26, 2025):

Text wrapping is a little bit more complicated than flipping a switch in the core unfortunately, but is on the roadmap.

<!-- gh-comment-id:3225871361 --> @kommander commented on GitHub (Aug 26, 2025): Text wrapping is a little bit more complicated than flipping a switch in the core unfortunately, but is on the roadmap.
Author
Owner

@remorses commented on GitHub (Sep 19, 2025):

Landed in https://github.com/sst/opentui/pull/170

<!-- gh-comment-id:3311804720 --> @remorses commented on GitHub (Sep 19, 2025): Landed in https://github.com/sst/opentui/pull/170
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#21
No description provided.