Skip to content

Commit 6f3cc34

Browse files
imanolmzd-svgjonathanmiddleton
authored andcommitted
fix (tui): Inaccurate tips (anomalyco#13845)
1 parent 94990ca commit 6f3cc34

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages/opencode/src/cli/cmd/tui/component

packages/opencode/src/cli/cmd/tui/component/tips.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createMemo, createSignal, For } from "solid-js"
22
import { DEFAULT_THEMES, useTheme } from "@tui/context/theme"
33

44
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`
5+
const themeTip = `Use {highlight}/themes{/highlight} or {highlight}Ctrl+X T{/highlight} to switch between ${themeCount} built-in themes`
66

77
type TipPart = { text: string; highlight: boolean }
88

@@ -126,7 +126,7 @@ const TIPS = [
126126
"Use {highlight}{file:path}{/highlight} to include file contents in config values",
127127
"Use {highlight}instructions{/highlight} in config to load additional rules files",
128128
"Set agent {highlight}temperature{/highlight} from 0.0 (focused) to 1.0 (creative)",
129-
"Configure {highlight}maxSteps{/highlight} to limit agentic iterations per request",
129+
"Configure {highlight}steps{/highlight} to limit agentic iterations per request",
130130
'Set {highlight}"tools": {"bash": false}{/highlight} to disable specific tools',
131131
'Set {highlight}"mcp_*": false{/highlight} to disable all tools from an MCP server',
132132
"Override global tool settings per agent configuration",
@@ -147,7 +147,6 @@ const TIPS = [
147147
"Commit your project's {highlight}AGENTS.md{/highlight} file to Git for team sharing",
148148
"Use {highlight}/review{/highlight} to review uncommitted changes, branches, or PRs",
149149
"Run {highlight}/help{/highlight} or {highlight}Ctrl+X H{/highlight} to show the help dialog",
150-
"Use {highlight}/details{/highlight} to toggle tool execution details visibility",
151150
"Use {highlight}/rename{/highlight} to rename the current session",
152151
"Press {highlight}Ctrl+Z{/highlight} to suspend the terminal and return to your shell",
153152
]

0 commit comments

Comments
 (0)