pub fn binding_mode_for(modal: ModalState) -> BindingModeExpand description
The BindingMode a modal state resolves chords in.
One definition: the host’s dispatcher, the TUI’s runtime and this walk all used to carry their own copy of this match, and a mode added to one of them would silently resolve against the wrong keymap in the others.