mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
tui: add /editor command to autocomplete for opening external editor
This commit is contained in:
parent
2a7ab45605
commit
31d0caee38
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user