Skip to content

The open source coding agent.

TypeScript

fix: print the modified keybind for command_list (#3859)

Mikhail Wahib1cf1e88b5295
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
index 676610c7aa9..4078bf6fd3b 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
@@ -712,7 +712,7 @@ export function Prompt(props: PromptProps) {
<Match when={props.hint}>{props.hint!}</Match>
<Match when={true}>
<text fg={theme.text}>
- ctrl+p <span style={{ fg: theme.textMuted }}>commands</span>
+ {keybind.print("command_list")} <span style={{ fg: theme.textMuted }}>commands</span>
</text>
</Match>
</Switch>