2 unstable releases
0.2.0 | Sep 23, 2024 |
---|---|
0.1.0 | May 10, 2024 |
#371 in Command-line interface
22 downloads per month
4KB
71 lines
cursive-hjkl
Transparently wraps any cursive View
with hjkl controls.
Specifically, the wrapper listens for HJKL keys, and if the inner view doesn't respond to them, it re-sends an event with arrow keys instead. Because it spoofs arrow keys, it should Just Work on a lot of pre-existing views.
I wrote this for ttyloop.
Dependencies
~6–13MB
~146K SLoC