chore: generate
This commit is contained in:
parent
0de5f1ff36
commit
b14e7451ab
1 changed files with 1 additions and 3 deletions
|
|
@ -1464,9 +1464,7 @@ export function Prompt(props: PromptProps) {
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const maxHeight = createMemo(
|
const maxHeight = createMemo(() => tuiConfig.prompt?.max_height ?? Math.max(6, Math.floor(dimensions().height / 3)))
|
||||||
() => tuiConfig.prompt?.max_height ?? Math.max(6, Math.floor(dimensions().height / 3)),
|
|
||||||
)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue