request: treeview node highlight callback functionality #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#3
Loading…
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?
I'm currently using the SetSelectedFunc method of the treeview to do an action when a node is selected. However, I would like to do the action when the node is highlighted. Currently, the selection is done when a user presses [Enter]. Highlight would ideally be invoked when a node is set as the current node along with when SetCurrentNode is called.
Would such an API fit into the library?
Yes, this will fit into cview and I have started working on an implementation.
closed via commit
d7ac9e862c