diff options
| author | Jacob Richman <[email protected]> | 2025-08-15 10:54:00 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-15 17:54:00 +0000 |
| commit | bd5e49c5ff0d0f5e03e5f42435de00c5a0758d7e (patch) | |
| tree | c55a474cd3630661ed42d63d8662b8266bdf11d0 /packages/cli/src/ui/components/InputPrompt.tsx | |
| parent | 1a2906a8ad6e9cf7a68441c956af91d189eff417 (diff) | |
fix(input) Resolve cases where escape was broken (#6304)
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/InputPrompt.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 94cbcf1b..dcfdace3 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -17,7 +17,6 @@ import { useShellHistory } from '../hooks/useShellHistory.js'; import { useReverseSearchCompletion } from '../hooks/useReverseSearchCompletion.js'; import { useCommandCompletion } from '../hooks/useCommandCompletion.js'; import { useKeypress, Key } from '../hooks/useKeypress.js'; -import { useKittyKeyboardProtocol } from '../hooks/useKittyKeyboardProtocol.js'; import { keyMatchers, Command } from '../keyMatchers.js'; import { CommandContext, SlashCommand } from '../commands/types.js'; import { Config } from '@google/gemini-cli-core'; @@ -67,7 +66,6 @@ export const InputPrompt: React.FC<InputPromptProps> = ({ const [escPressCount, setEscPressCount] = useState(0); const [showEscapePrompt, setShowEscapePrompt] = useState(false); const escapeTimerRef = useRef<NodeJS.Timeout | null>(null); - const kittyProtocolStatus = useKittyKeyboardProtocol(); const [dirs, setDirs] = useState<readonly string[]>( config.getWorkspaceContext().getDirectories(), @@ -529,8 +527,6 @@ export const InputPrompt: React.FC<InputPromptProps> = ({ useKeypress(handleInput, { isActive: true, - kittyProtocolEnabled: kittyProtocolStatus.enabled, - config, }); const linesToRender = buffer.viewportVisualLines; |
