diff options
| author | Seth Troisi <[email protected]> | 2025-07-30 17:43:11 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-31 00:43:11 +0000 |
| commit | c77a22d4c6b3a8bb4d4bbdb636774b2aa2c2da3b (patch) | |
| tree | a6c874bd4069769aca5c4630f8fac1ef1c9dfb9d /packages/cli/src/ui/components/Footer.tsx | |
| parent | d06e17fbd9d08ac5efccf0c2b4d5fd4f703b15c7 (diff) | |
Add render counter in debug mode (#5242)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/Footer.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Footer.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx index af3d8437..acc55870 100644 --- a/packages/cli/src/ui/components/Footer.tsx +++ b/packages/cli/src/ui/components/Footer.tsx @@ -13,6 +13,8 @@ import process from 'node:process'; import Gradient from 'ink-gradient'; import { MemoryUsageDisplay } from './MemoryUsageDisplay.js'; +import { DebugProfiler } from './DebugProfiler.js'; + interface FooterProps { model: string; targetDir: string; @@ -48,6 +50,7 @@ export const Footer: React.FC<FooterProps> = ({ return ( <Box justifyContent="space-between" width="100%"> <Box> + {debugMode && <DebugProfiler />} {vimMode && <Text color={Colors.Gray}>[{vimMode}] </Text>} {nightly ? ( <Gradient colors={Colors.GradientColors}> |
