diff options
| author | Pyush Sinha <[email protected]> | 2025-08-04 09:53:50 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-04 16:53:50 +0000 |
| commit | e506b40c271da0e05a361f5299c37976a9e1f1f3 (patch) | |
| tree | 2d569bd9a86734778f89e0197716e1b5db2954aa /packages/cli/src/ui/App.tsx | |
| parent | 83a04c47552c1407662a5e3e567f4c5e50bba5de (diff) | |
fix: /help remove flickering and respect clear shortcut (ctr+l) (#3611)
Co-authored-by: Jacob Richman <[email protected]>
Co-authored-by: Allen Hutchison <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index f63fcb35..3b695111 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -38,7 +38,6 @@ import { AuthInProgress } from './components/AuthInProgress.js'; import { EditorSettingsDialog } from './components/EditorSettingsDialog.js'; import { ShellConfirmationDialog } from './components/ShellConfirmationDialog.js'; import { Colors } from './colors.js'; -import { Help } from './components/Help.js'; import { loadHierarchicalGeminiMemory } from '../config/config.js'; import { LoadedSettings } from '../config/settings.js'; import { Tips } from './components/Tips.js'; @@ -146,7 +145,6 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => { const [geminiMdFileCount, setGeminiMdFileCount] = useState<number>(0); const [debugMessage, setDebugMessage] = useState<string>(''); - const [showHelp, setShowHelp] = useState<boolean>(false); const [themeError, setThemeError] = useState<string | null>(null); const [authError, setAuthError] = useState<string | null>(null); const [editorError, setEditorError] = useState<string | null>(null); @@ -473,7 +471,6 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => { clearItems, loadHistory, refreshStatic, - setShowHelp, setDebugMessage, openThemeDialog, openAuthDialog, @@ -495,7 +492,6 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => { config.getGeminiClient(), history, addItem, - setShowHelp, config, setDebugMessage, handleSlashCommand, @@ -802,6 +798,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => { item={h} isPending={false} config={config} + commands={slashCommands} /> )), ]} @@ -829,8 +826,6 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => { </Box> </OverflowProvider> - {showHelp && <Help commands={slashCommands} />} - <Box flexDirection="column" ref={mainControlsRef}> {/* Move UpdateNotification to render update notification above input area */} {updateInfo && <UpdateNotification message={updateInfo.message} />} |
