fix(cli): prevent header text artifacts on re-render

Add flexGrow={1} to the text column so it fills the full terminal
width. This ensures Ink clears the entire line when content changes
(e.g. 'awaiting model' → 'llama3.2 (8k)'), preventing leftover
characters from previous renders.
This commit is contained in:
2026-03-15 14:45:44 -05:00
parent 4e4058abff
commit 2936cef884

View File

@@ -77,7 +77,7 @@ export function TopBar({
return (
<Box paddingX={1} paddingY={0} marginBottom={1}>
<MosaicIcon />
<Box flexDirection="column">
<Box flexDirection="column" flexGrow={1}>
<Text>
<Text bold color="#56a0ff">
Mosaic Stack