From 0e3d2fb880cb585da6e85d397e5c7a41e0dcddf4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 Apr 2026 19:21:40 +0000 Subject: [PATCH] Add debug logging for input keys in InputPrompt --- packages/cli/src/ui/components/InputPrompt.tsx | 3 +++ 1 file changed, 3 insertions(+) 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 &&