Examples/Print key

Print key

Shows the decoded name of each key press — handy for discovering exactly what KeyMsg.key string a chord produces (ctrl+a, alt+left, shift+tab, …) while building your keymaps.

print key · dart_tui
Print key demo

Run it

bash
dart run example/print_key.dart

Related