Skip to main content

Module input

Module input 

Source
Expand description

Translate canonical KeyChord values into Actions.

Renderer-neutral dispatch entry point: reads modal state, the pending-key buffer, and the catalog of built-in command IDs to decide what each chord means. The crossterm::KeyEvent → KeyChord adapter (and the analogous future-renderer adapters) live in the renderer crates; this module never sees a raw key event.

Shape per DESIGN.md §5.2.3: chord → typed CommandInvocation, so swapping in the layered keymap engine later is mechanical.

Structs§

TranslateContext

Functions§

translate