1. handle escape character;
2. handle items filtering
based on entered letters;
3. redraw UI when the filter
changes;
4. TODO
handle selection changes via arrows, hjkl;
5. TODO
handle selection after Enter has been pressed;
1. add filter callback;
1.1. partially
added recording of pressed keys;
1.2. TODO,
handle esape to close the window;
handle to select the entry;
handle hjkl, arrows
to change the selection;
handle pressed keys otherwise, ideally
after i has been pressed,
or handle hjkl after escape has been presed;
to restrict entries to the matching pattern
visualize current filter, and ins/normal mode
in the popup title;
1. remove duplicate logic from beta,
that is present in main;
2. fix init for FastSelect;
3. implement last recently
used ordering for buffers selection;