From 8fa8b7bf90640e6c772fbc259229e81ea1614b21 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Sun, 15 Mar 2026 13:56:03 -0500 Subject: [PATCH] fix(cli): ensure footer line 2 always renders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Show '^0 v0 $0.000' instead of '—' when no token data yet - Always show model slot ('awaiting model' as placeholder) - Add minHeight={1} to prevent line collapse --- packages/cli/src/tui/components/bottom-bar.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/cli/src/tui/components/bottom-bar.tsx b/packages/cli/src/tui/components/bottom-bar.tsx index 7c494db..9729a73 100644 --- a/packages/cli/src/tui/components/bottom-bar.tsx +++ b/packages/cli/src/tui/components/bottom-bar.tsx @@ -55,7 +55,7 @@ export function BottomBar({ {/* Line 2: token stats ····· (provider) model */} - + {hasTokens ? ( <> @@ -90,16 +90,14 @@ export function BottomBar({ )} ) : ( - + ^0 v0 $0.000 )} - {(providerName ?? modelName) && ( - - {providerName ? `(${providerName}) ` : ''} - {modelName ?? ''} - - )} + + {providerName ? `(${providerName}) ` : ''} + {modelName ?? 'awaiting model'} +