module
Termisu::Input::KeySymbolMaps
Overview
Symbol lookup tables for Key enum. Defines the single source of truth for symbol <-> key mappings. Uses lazy initialization with class variables to avoid enum constant limitations.
Defined in:
termisu/input/key.crClass Method Summary
-
.char_to_key : Hash(Char, Key)
Char to Key lookup hash - single source of truth for symbol mappings.
-
.key_to_char : Hash(Key, Char)
Key to Char lookup hash - derived from char_to_key for DRY.
Class Method Detail
Char to Key lookup hash - single source of truth for symbol mappings.
Key to Char lookup hash - derived from char_to_key for DRY.