3 stable releases
2.1.0 | Jan 29, 2024 |
---|---|
2.0.0 | Jan 17, 2024 |
1.0.0 | Jun 24, 2022 |
#1530 in Command line utilities
41KB
148 lines
Your OS and your terminal intercept many key combinations, and hide the modifiers of some. This makes defining keybindings for terminal applications often challenging.
print_key helps you determine the available key combinations for terminal applications, and how those terminal applications receive them.
Key combinations are printed the way they can be written in key binding configurations of programs such as broot or bacon.
This serialized format can be parsed by the crokey Rust library.
Precompiled binaries are available at https://dystroy.org/print_key/download.
Dependencies
~3–8MB
~79K SLoC