diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 2091817745..2e7fe312a7 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -649,6 +649,9 @@ export const InputPrompt: React.FC = ({ const handleInput = useCallback( (key: Key) => { + debugLogger.log( + `[UI INPUT] handleInput received key: ${JSON.stringify(key)}`, + ); // Determine if this keypress is a history navigation command const isHistoryUp = !shellModeActive &&