mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
tui: add /editor command to autocomplete for opening external editor
This commit is contained in:
@@ -255,6 +255,11 @@ export function Autocomplete(props: {
|
|||||||
description: "toggle theme",
|
description: "toggle theme",
|
||||||
onSelect: () => command.trigger("theme.switch"),
|
onSelect: () => command.trigger("theme.switch"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
display: "/editor",
|
||||||
|
description: "open editor",
|
||||||
|
onSelect: () => command.trigger("prompt.editor"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
display: "/help",
|
display: "/help",
|
||||||
description: "show help",
|
description: "show help",
|
||||||
|
|||||||
Reference in New Issue
Block a user