[GH-ISSUE #1028] Feature request: get TextView line count from buffer, with wrapping #746

Closed
opened 2026-03-04 01:07:27 +03:00 by kerem · 1 comment
Owner

Originally created by @Retropaint on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/1028

This is a successor to #648, which added a func to retrieve line count from buffer but without wrapping implied. I would like to have the option to imply wrapping as well, as currently our only option is a custom func to get the line count ourselves.

Originally created by @Retropaint on GitHub (Sep 29, 2024). Original GitHub issue: https://github.com/rivo/tview/issues/1028 This is a successor to #648, which added a func to retrieve line count from buffer but without wrapping implied. I would like to have the option to imply wrapping as well, as currently our only option is a custom func to get the line count ourselves.
kerem closed this issue 2026-03-04 01:07:27 +03:00
Author
Owner

@rivo commented on GitHub (Nov 3, 2024):

The latest commit adds GetWrappedLineCount() to TextView.

<!-- gh-comment-id:2453509442 --> @rivo commented on GitHub (Nov 3, 2024): The latest commit adds `GetWrappedLineCount()` to `TextView`.
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/tview#746
No description provided.