As document mentioned, there are only there hooks supported.
I want to redraw the searchbox when the search result changes, for example:
5 is current index, 10 is the count of the search result.
I know that I can use on_done to do it, but it's too hard to code.
Is there any possibility to add a new hook named on_update(input, value, current_index, total_count)?
I have read the source code, maybe we can trigger on_update here ?
As document mentioned, there are only there hooks supported.
I want to redraw the searchbox when the search result changes, for example:
I know that I can use
on_done
to do it, but it's too hard to code. Is there any possibility to add a new hook namedon_update(input, value, current_index, total_count)
?I have read the source code, maybe we can trigger
on_update
here ?