tui: add /editor command to autocomplete for opening external editor

This commit is contained in:
Dax Raad
2025-10-31 17:47:08 -04:00
parent 2a7ab45605
commit 31d0caee38

View File

@@ -255,6 +255,11 @@ export function Autocomplete(props: {
description: "toggle theme",
onSelect: () => command.trigger("theme.switch"),
},
{
display: "/editor",
description: "open editor",
onSelect: () => command.trigger("prompt.editor"),
},
{
display: "/help",
description: "show help",