This commit is contained in:
Dax Raad
2025-10-31 18:58:48 -04:00
committed by opencode
parent d0a70cb217
commit 261ff416a9
5 changed files with 31 additions and 5 deletions

View File

@@ -270,6 +270,11 @@ export function Autocomplete(props: {
description: "show help",
onSelect: () => command.trigger("help.show"),
},
{
display: "/commands",
description: "show all commands",
onSelect: () => command.show(),
},
)
const max = firstBy(results, [(x) => x.display.length, "desc"])?.display.length
if (!max) return results