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.cr

Class Method Summary

Class Method Detail

def self.char_to_key : Hash(Char, Key) #

Char to Key lookup hash - single source of truth for symbol mappings.


[View source]
def self.key_to_char : Hash(Key, Char) #

Key to Char lookup hash - derived from char_to_key for DRY.


[View source]