Skip to main content

Module keymap_visual

Module keymap_visual 

Source
Expand description

Crossterm-coupled test harness for the renderer-neutral lattice_host::keymap_visual catalog. Production code moved to lattice-host in slice 5.4 / slice 4; the tests stay here because their ev() helper builds KeyChord values via crate::chord::from_event(&KeyEvent { ... }).

Functions§

dispatch_visual
Dispatch a Visual-mode key event through the keymap registry.
register_visual_bindings
Register every chord the legacy input::translate_visual recognised into the supplied handle’s Builtin layer under BindingMode::Visual. Called at App startup; the registration captures builtins’s motion / operator ids by value, so the resulting BoundCommands never re-resolve at lookup time.