diff options
| author | Miguel Solorio <[email protected]> | 2025-06-13 00:59:45 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-13 07:59:45 +0000 |
| commit | f8a31f29aaeb31b2dfab4c18d750307308245a55 (patch) | |
| tree | 4f6d2ec09ad04d691ee5c102cd9accff57c7d1a2 /packages/cli/src/ui/App.tsx | |
| parent | 95e4a60a83dd8e710ef69f78b3b57de4b4703344 (diff) | |
Replace logo with custom ASCII (#958)
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index 98a27716..2d37c42a 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -324,7 +324,7 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => { refreshStatic(); }, [clearItems, clearConsoleMessagesState, refreshStatic]); - const { rows: terminalHeight } = useTerminalSize(); + const { rows: terminalHeight, columns: terminalWidth } = useTerminalSize(); // Get terminalWidth const mainControlsRef = useRef<DOMElement>(null); const pendingHistoryItemRef = useRef<DOMElement>(null); @@ -407,7 +407,7 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => { key={staticKey} items={[ <Box flexDirection="column" key="header"> - <Header title={process.env.GEMINI_CLI_TITLE} /> + <Header terminalWidth={terminalWidth} /> <Tips config={config} /> </Box>, ...history.map((h) => ( |
