pub fn filter_commands<'a>(
commands: &'a [Command],
filter: &str,
) -> Vec<&'a Command>Expand description
Selects the commands whose label contains filter, case-insensitively,
preserving input order.
An empty filter selects every command. This is the one shared predicate
behind both palette_scene and any surface-side selection, so the TUI and
Web UI filter identically.