fix: 助理列與狀態列之間補上一行間距

助理列到輸入框的間距由引擎固定留一行,狀態列到助理列原本沒有間距。
為助理列加上 marginTop,使兩段間距相同。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
root
2026-10-12 14:16:46 +08:00
co-authored by Claude Sonnet 5.5
parent 3d63d168ff
commit 1bc2a335ee
+9 -7
View File
@@ -36,13 +36,15 @@ export const register: Register = on => {
return (
<Box flexDirection="column">
{rest}
<Text wrap="truncate">
{line.map(s => (
<Text color={s.color} dimColor={s.dim} bold={s.bold}>
{s.text}
</Text>
))}
</Text>
<Box marginTop={1}>
<Text wrap="truncate">
{line.map(s => (
<Text color={s.color} dimColor={s.dim} bold={s.bold}>
{s.text}
</Text>
))}
</Text>
</Box>
</Box>
)
})