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 e8affacda7..64b7181e63 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx +++ b/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 ( <>