3 stable releases

2.1.0 Jan 29, 2024
2.0.0 Jan 17, 2024
1.0.0 Jun 24, 2022

#2626 in Command line utilities

MIT license

41KB
148 lines

Latest Version Chat on Miaou

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.

Slava Ukraini

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

~2.2–7.5MB
~60K SLoC