Expand description
KeymapResolution — trace result for resolve_trace and
resolve_trace_all_modes.
K.3 (2026-06-07): lives in lattice-keymap so the :describe-key
handler in lattice-host and unit tests can use the type without
depending on the full host stack.
Structs§
- Continuation
- DK.4: one binding registered BELOW a queried prefix. Returned by
KeymapHandle::continuations, which:describe-keyrenders when the chord it was asked about is a prefix rather than a binding. - Keymap
Resolution - Full trace of all layer hits for a chord sequence in one
BindingMode. Returned byKeymapHandle::resolve_trace. - Layer
Hit - One layer’s hit in a
KeymapResolution. Every registered layer that has a terminal binding for the queried chord sequence contributes oneLayerHit, in priority order ascending (Builtin first, Buffer last). Theactiveflag is set by the caller against the active buffer’sActiveModesset to show which hit would actually fire.
Functions§
- parse_
describe_ key_ arg - Parse a
:describe-keyargument that may carry a mode prefix.