fix(footer): truncate hints/mode row to prevent extra lines

Wrap leftBottomContent in Text with wrap="truncate" so the
hints/mode row stays on a single line, matching upstream behavior.
This guarantees the footer is at most 2 rows (status line + hints).
This commit is contained in:
wenshao 2026-04-08 20:57:03 +08:00
parent cf879f0b58
commit 50bf5cc72d

View file

@ -122,7 +122,7 @@ export const Footer: React.FC = () => {
{statusLineText}
</Text>
)}
{leftBottomContent}
<Text wrap="truncate">{leftBottomContent}</Text>
</Box>
{/* Right Section — never compressed */}