showKeyHelp
showKeyHelp():
void
Defined in: components/keyhelp.ts:32
The shortcut overview: a dialog listing what a keypress could do right now — every described binding the keyboard focus and any open modal leave in effect: buttons under their label, menu items under theirs, bindKey bindings under the description they were given.
It’s a cheat-sheet, not a modal: the shortcuts it lists keep working, and any
keypress closes it and still lands — so the key you just looked up can be
pressed right there. That is also what keeps the listing honest: focus cannot
move while it is up (a click lands on the backdrop, a key closes it), so what
was true when it opened stays true. Bound to ? (and mod+?, which also
works while typing in a field) by default — see setKeyHelp. Calling
this while the overview is already up closes it, which is what lets that ?
toggle.
Returns
Section titled “Returns”void