Function: keyHints()
keyHints<
S,C>(stack,state):KeyHint[]
Defined in: modal/keys.ts:153
The active hint rows for a state, resolved through the stack top-down with claim shadowing: a key bound by a higher active layer hides the same key's hints below (a strip claiming S for "save" hides the base layer's S "viewport shot"), exactly mirroring resolveKey's precedence — a binding with no hint still shadows. Order: layers top-down, bindings in declaration order; a swallow-fallback layer ends the walk (nothing below is reachable). Drive per-mode cheat sheets and help tables from THIS, so the displayed keymap and the working keymap are the same table.
Type Parameters
S
S
C
C
Parameters
stack
readonly KeyLayer<S, C>[]
state
S
Returns
KeyHint[]