Redesign the keyboard shortcuts cheatsheet with fuzzy search
One fixed-size list of grouped cards: actions and notes on the leading side, keys drawn as keycaps in an aligned trailing column that never ends a line on a joining word. A search field, focused when Ctrl+? opens it, filters fuzzily by action and keys (exactly by group and note) and highlights the matched letters.
This commit is contained in:
@@ -22,7 +22,7 @@ class ShellCheatsheet {
|
||||
void open(BuildContext context) {
|
||||
if (isOpen) return;
|
||||
final token = _token = Object();
|
||||
showKeyboardShortcutsHelp(context).whenComplete(() {
|
||||
showKeyboardShortcutsHelp(context, focusSearch: true).whenComplete(() {
|
||||
if (identical(_token, token)) _token = null;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user