Replace logo with custom ASCII (#958)

This commit is contained in:
Miguel Solorio
2025-06-13 00:59:45 -07:00
committed by GitHub
parent 95e4a60a83
commit f8a31f29aa
4 changed files with 79 additions and 25 deletions

View File

@@ -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) => (