Browse Source

tui: prevent footer from shrinking when terminal is resized

Dax Raad 4 months ago
parent
commit
a718622498
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/cli/cmd/tui/routes/session/footer.tsx

+ 1 - 1
packages/opencode/src/cli/cmd/tui/routes/session/footer.tsx

@@ -11,7 +11,7 @@ export function Footer() {
   const lsp = createMemo(() => Object.keys(sync.data.lsp))
   const directory = useDirectory()
   return (
-    <box flexDirection="row" justifyContent="space-between" gap={1}>
+    <box flexDirection="row" justifyContent="space-between" gap={1} flexShrink={0}>
       <text fg={theme.textMuted}>{directory()}</text>
       <box gap={2} flexDirection="row" flexShrink={0}>
         <text fg={theme.text}>