From c044bcd2056b9d0df4b03c37bea0944625ca5272 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 511c4b6ceb..031f6288c0 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -686,6 +686,9 @@ export const InputPrompt: React.FC = ({ (key: Key) => { if (handleVoiceInput(key)) return true; + debugLogger.log( + `[UI INPUT] handleInput received key: ${JSON.stringify(key)}`, + ); // Determine if this keypress is a history navigation command const isHistoryUp = !shellModeActive &&