diff options
| author | Olcan <[email protected]> | 2025-05-19 16:58:57 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-19 16:58:57 -0700 |
| commit | 9c72a3ae129a5ab6cbc13fded86da01f2a354a75 (patch) | |
| tree | 772d6f405e6ce2858e3087f3b2f472a95a79642c /packages/cli/src/ui/App.tsx | |
| parent | 28acb8d495f847edc5c32e4d18b62bd08a9132d2 (diff) | |
ui tweaks (#442)
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index befefec1..c07c623e 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -20,7 +20,7 @@ import { ShellModeIndicator } from './components/ShellModeIndicator.js'; import { EditorState, InputPrompt } from './components/InputPrompt.js'; import { Footer } from './components/Footer.js'; import { ThemeDialog } from './components/ThemeDialog.js'; -import { shortenPath, type Config } from '@gemini-code/server'; +import { type Config } from '@gemini-code/server'; import { Colors } from './colors.js'; import { Help } from './components/Help.js'; import { loadHierarchicalGeminiMemory } from '../config/config.js'; @@ -342,14 +342,16 @@ export const App = ({ justifyContent="space-between" width="100%" > - <Box> - <> - <Text color={Colors.SubtleComment}>cwd: </Text> - <Text color={Colors.LightBlue}> - {shortenPath(config.getTargetDir(), 70)} + {geminiMdFileCount > 0 && ( + <Box> + {process.env.GEMINI_SYSTEM_MD && ( + <Text color={Colors.AccentRed}>|⌐■_■| </Text> + )} + <Text color={Colors.SubtleComment}> + Using {geminiMdFileCount} GEMINI.md files </Text> - </> - </Box> + </Box> + )} <Box> {showAutoAcceptIndicator && !shellModeActive && ( <AutoAcceptIndicator /> @@ -431,7 +433,6 @@ export const App = ({ debugMode={config.getDebugMode()} debugMessage={debugMessage} cliVersion={cliVersion} - geminiMdFileCount={geminiMdFileCount} corgiMode={corgiMode} /> <ConsoleOutput debugMode={config.getDebugMode()} /> |
