refactor(tui): remove hidden command metadata

This commit is contained in:
Dax Raad 2026-07-14 23:40:40 -04:00
commit e8964ce672
3 changed files with 1 additions and 4 deletions

View file

@ -255,7 +255,6 @@ function useCommands(): Accessor<readonly KeymapCommand[]> {
: undefined,
palette: entry.command.namespace === "palette" ? true : undefined,
slash: entry.command.slash,
hidden: typeof entry.command.hidden === "boolean" ? entry.command.hidden : undefined,
suggested:
typeof entry.command.suggested === "boolean" || typeof entry.command.suggested === "function"
? (entry.command.suggested as boolean | (() => boolean))