pub fn bindings() -> Vec<KeyBinding>Expand description
Traversal’s keymap, as data, so an app can have it without having to
take it — see crate::keys for layering over it or taking a chord
away.
tab and shift-tab, global rather than scoped to a context: traversal is a property of the window, not
of whatever happens to be focused.
Nothing in this crate claims tab for itself, deliberately. A multi-line
field could reasonably insert one, but trapping tab inside a text box is
the classic way to make a form impossible to leave by keyboard. A surface
where the key is structural says so with CLAIMS_TAB instead.
Decrement/Increment on left/right are for a control that holds a
value rather than a press — slider
is the one. They
carry no step: only the caller knows the range, and a library that picked
one would be picking it for a percentage and a font size alike.