Просмотр исходного кода

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

Mikhail Wahib 3 месяцев назад
Родитель
Сommit
1cf1e88b52
1 измененных файлов с 1 добавлено и 1 удалено
  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={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>