This is on top of #12, only the last commit is new.
This adds support for navigation keybinds with Ctrl- for emacs-style ones, and Alt- for vim-like ones (hjkl). This matches what dmenu does.
As an improvement on the side, control sequences do not get printed anymore when the user inputs a Ctrl-something that is not handled (currently that results in borked characters being inserted).
This is on top of #12, only the last commit is new.
This adds support for navigation keybinds with Ctrl- for emacs-style ones, and Alt- for vim-like ones (hjkl). This matches what dmenu does.
As an improvement on the side, control sequences do not get printed anymore when the user inputs a Ctrl-something that is not handled (currently that results in borked characters being inserted).