fix(ui): stabilize rendering during terminal resize in alternate buffer (#15783)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
lkk214
2026-01-23 07:21:55 +08:00
committed by GitHub
parent 5f1c6447a9
commit 11e48e2dd1

View File

@@ -31,7 +31,8 @@ export const DefaultAppLayout: React.FC = () => {
<Box
flexDirection="column"
width={width}
height={isAlternateBuffer ? terminalHeight - 1 : undefined}
height={isAlternateBuffer ? terminalHeight : undefined}
paddingBottom={isAlternateBuffer ? 1 : undefined}
flexShrink={0}
flexGrow={0}
overflow="hidden"