From bd5e49c5ff0d0f5e03e5f42435de00c5a0758d7e Mon Sep 17 00:00:00 2001 From: Jacob Richman Date: Fri, 15 Aug 2025 10:54:00 -0700 Subject: fix(input) Resolve cases where escape was broken (#6304) --- packages/cli/src/ui/components/InputPrompt.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'packages/cli/src/ui/components/InputPrompt.tsx') 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 = ({ const [escPressCount, setEscPressCount] = useState(0); const [showEscapePrompt, setShowEscapePrompt] = useState(false); const escapeTimerRef = useRef(null); - const kittyProtocolStatus = useKittyKeyboardProtocol(); const [dirs, setDirs] = useState( config.getWorkspaceContext().getDirectories(), @@ -529,8 +527,6 @@ export const InputPrompt: React.FC = ({ useKeypress(handleInput, { isActive: true, - kittyProtocolEnabled: kittyProtocolStatus.enabled, - config, }); const linesToRender = buffer.viewportVisualLines; -- cgit v1.2.3