mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #741] word wrap on List #545
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#545
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 @jbrodriguez on GitHub (Jul 2, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/741
how to achieve word wrap on list items ?
there's text after
youwhich is cut by the terminal window size.if not using a list, any other suggestion on how to do it ?
i looked at grid, but each column of a grid is independent, so you lose the list behavior
@rivo commented on GitHub (Jul 9, 2022):
Lists don't implement word-wrapping and likely won't in the future. Word-wrapping is implemented in
TextView. If you use "regions" in a text view, you can highlight parts of the text. You can then also override the keys usingSetInputCapture()to fit your needs.(See also #588)