File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/opencode/src/cli/cmd/tui/component Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import { createMemo , createSignal , For } from "solid-js"
2- import { useTheme } from "@tui/context/theme"
2+ import { DEFAULT_THEMES , useTheme } from "@tui/context/theme"
3+
4+ const themeCount = Object . keys ( DEFAULT_THEMES ) . length
5+ const themeTip = `Use {highlight}/theme{/highlight} or {highlight}Ctrl+X T{/highlight} to switch between ${ themeCount } built-in themes`
36
47type TipPart = { text : string ; highlight : boolean }
58
@@ -57,7 +60,7 @@ const TIPS = [
5760 "Press {highlight}Ctrl+X E{/highlight} or {highlight}/editor{/highlight} to compose messages in your external editor" ,
5861 "Run {highlight}/init{/highlight} to auto-generate project rules based on your codebase" ,
5962 "Run {highlight}/models{/highlight} or {highlight}Ctrl+X M{/highlight} to see and switch between available AI models" ,
60- "Use {highlight}/theme{/highlight} or {highlight}Ctrl+X T{/highlight} to switch between 50+ built-in themes" ,
63+ themeTip ,
6164 "Press {highlight}Ctrl+X N{/highlight} or {highlight}/new{/highlight} to start a fresh conversation session" ,
6265 "Use {highlight}/sessions{/highlight} or {highlight}Ctrl+X L{/highlight} to list and continue previous conversations" ,
6366 "Run {highlight}/compact{/highlight} to summarize long sessions near context limits" ,
You can’t perform that action at this time.
0 commit comments