Repository navigation
v0.1.0
Pre-release
Pre-release
New feature
Register and override keyboard input on a (child) component level.
As Ink's useInput hook does not seem to always reliably support calling the hook for the same keyboard input in different components, I added a global keyboard handler registration.
With this you could for example override the ESC key in your own child component to do something else than the default behavior of returning back to the items search view.