diff options
Diffstat (limited to 'packages/cli/src/ui/components/Footer.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Footer.tsx | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx index 0e2779cb..03e85db1 100644 --- a/packages/cli/src/ui/components/Footer.tsx +++ b/packages/cli/src/ui/components/Footer.tsx @@ -7,14 +7,13 @@ import React from 'react'; import { Box, Text } from 'ink'; import { Colors } from '../colors.js'; -import { Config } from '@gemini-code/server'; +import { shortenPath, tildeifyPath, Config } from '@gemini-code/server'; interface FooterProps { config: Config; debugMode: boolean; debugMessage: string; cliVersion: string; - geminiMdFileCount: number; corgiMode: boolean; } @@ -23,19 +22,16 @@ export const Footer: React.FC<FooterProps> = ({ debugMode, debugMessage, cliVersion, - geminiMdFileCount, corgiMode, }) => ( <Box marginTop={1}> <Box> - {geminiMdFileCount > 0 && ( - <Text color={Colors.SubtleComment}> - Using {geminiMdFileCount} GEMINI.md files - </Text> - )} + <Text color={Colors.LightBlue}> + {shortenPath(tildeifyPath(config.getTargetDir()), 70)} + </Text> {debugMode && ( <Text color={Colors.AccentRed}> - {debugMessage || ' | Running in debug mode.'} + {' ' + (debugMessage || '--debug')} </Text> )} </Box> @@ -74,9 +70,6 @@ export const Footer: React.FC<FooterProps> = ({ <Text color={Colors.AccentRed}>▼ </Text> </Text> )} - {process.env.GEMINI_SYSTEM_MD && ( - <Text color={Colors.AccentRed}>|⌐■_■|</Text> - )} </Box> </Box> ); |
