mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #502] Feature request: get a treenode's level #365
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#365
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 @rfc2119 on GitHub (Sep 19, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/502
Hi, I'd like to first thank you warmly for this library. Truly every aspect of the library is well-written. Thank you
I have a situation where I need to act differently based upon the level of current
tview.TreeNodein atview.TreeView. Ideally, I would like to have aGetLevelIndex()method on a TreeNode type, which simply returns the unexportedlevelinteger. Would that be an issue to add ?@rivo commented on GitHub (Dec 4, 2020):
I added this in the latest commit. Let me know if this works for you.