Browse Source

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

Mikhail Wahib 3 months ago
parent
commit
1cf1e88b52
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

+ 1 - 1
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={props.hint}>{props.hint!}</Match>
             <Match when={true}>
             <Match when={true}>
               <text fg={theme.text}>
               <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>
               </text>
             </Match>
             </Match>
           </Switch>
           </Switch>