You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to get the DirEntry that is currently highlighted by the user (ie: on which items the cursor currently is).
The name would not be enough as I want to do something if it's a directory and another thing if it's a file
Describe the solution you'd like
A method on the filepicker bubble that would return the current dirEntry.
Smething probaby close to this :
Describe alternatives you've considered
create my own bubble by copy/pasting the code of the filepicker.
Additional context
the hardest part might be on how to use this kind of method because this kind of call would be done in an Update(msg tea.Msg) method, when the cursor might change from user input. So the function above could take a modifier as an argument ie :
Is your feature request related to a problem? Please describe.
I'd like to get the DirEntry that is currently highlighted by the user (ie: on which items the cursor currently is).
The name would not be enough as I want to do something if it's a directory and another thing if it's a file
Describe the solution you'd like
A method on the filepicker bubble that would return the current dirEntry.
Smething probaby close to this :
Describe alternatives you've considered
create my own bubble by copy/pasting the code of the filepicker.
Additional context
the hardest part might be on how to use this kind of method because this kind of call would be done in an
Update(msg tea.Msg)
method, when the cursor might change from user input. So the function above could take a modifier as an argument ie :The text was updated successfully, but these errors were encountered: