Skip to content

Layout primitive for wrapped text #3

@blaix

Description

@blaix

Like UI.text but automatically wraps text to fit max width. Similar to elm-ui's paragraph.

Currently width = visible width of text + borders. Wrapping logic gets tricky when you have multiple columns of text. The logic will have to compare the full visible width of the layout to the terminal width, then decide which text elements to wrap and where. The current logic that truncates the view if it's longer than the terminal complicates this as well.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions