diff options
| author | Dax Raad <[email protected]> | 2025-10-31 17:44:32 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-10-31 17:44:41 -0400 |
| commit | 2a7ab45605859e3c5a84c4aeddf4caa5a183a95a (patch) | |
| tree | f6faf47abc3f97493faea2a1c4728114a5b8a360 | |
| parent | 019054dd1e90792a602709c71ac80197efd2b1b8 (diff) | |
| download | opencode-2a7ab45605859e3c5a84c4aeddf4caa5a183a95a.tar.gz opencode-2a7ab45605859e3c5a84c4aeddf4caa5a183a95a.zip | |
add /theme
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx index a386aea33..56e0449dc 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx @@ -251,6 +251,11 @@ export function Autocomplete(props: { onSelect: () => command.trigger("opencode.status"), }, { + display: "/theme", + description: "toggle theme", + onSelect: () => command.trigger("theme.switch"), + }, + { display: "/help", description: "show help", onSelect: () => command.trigger("help.show"), |
