Access selected or active element of scroller #987
-
In reference to git-tui project, how can i get the active or selected item from scroller. |
Beta Was this translation helpful? Give feedback.
Answered by
John4650-hub
Jan 14, 2025
Replies: 1 comment
-
Ok , i kinda found a solution to be just assigning |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
John4650-hub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok , i kinda found a solution to be just assigning
selected_
to some global variable and also storing a vector of the list item, then when i move the mouse each time the global variable gets assigned to a new index which i can use to choose an element from the vector.Thank @ArthurSonzogni for your work.