Open ivangalbans opened 5 years ago
The easiest way is to manage focus on your own - ie, using the "controlled" method. When you handle the keypress or other opening mechanism, you can call whatever initialization logic you'd like.
Yes, it works but I think it's easier to have an OnOpen
callback. If this is possible, of course.
If it's something that you'd like to do, feel free to make the change and open a pull request - if it looks good I'd merge it! This isn't something that I have a need for though (and don't have time to prioritize it right now).
I would like a callback
OnOpen
likeOnClose
.My question is: How can I execute a function when
fuzzy-finder
is opened ? This functionality is very useful