瀏覽代碼

chore: generate

opencode-agent[bot] 6 月之前
父節點
當前提交
b14e7451ab
共有 1 個文件被更改,包括 1 次插入 和 3 次删除
  1. 1 3
      packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

+ 1 - 3
packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

@@ -1464,9 +1464,7 @@ export function Prompt(props: PromptProps) {
       }),
     }
   })
-  const maxHeight = createMemo(
-    () => tuiConfig.prompt?.max_height ?? Math.max(6, Math.floor(dimensions().height / 3)),
-  )
+  const maxHeight = createMemo(() => tuiConfig.prompt?.max_height ?? Math.max(6, Math.floor(dimensions().height / 3)))
 
   return (
     <>