From 3030a8a64a4c2c72db78886e65cfec61c8f6c286 Mon Sep 17 00:00:00 2001 From: Keith Guerin Date: Sun, 1 Mar 2026 14:40:29 -0800 Subject: [PATCH] style(cli): update FRAME_PADDING_AND_BORDER to match current layout --- packages/cli/src/ui/components/InputPrompt.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 4c5f4457a7..a753ccde6b 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -117,7 +117,7 @@ export interface InputPromptProps { // The input content, input container, and input suggestions list may have different widths export const calculatePromptWidths = (mainContentWidth: number) => { - const FRAME_PADDING_AND_BORDER = 6; // Border (2) + padding (4) + const FRAME_PADDING_AND_BORDER = 4; // Border (2) + padding (2) const PROMPT_PREFIX_WIDTH = 2; // '> ' or '! ' const FRAME_OVERHEAD = FRAME_PADDING_AND_BORDER + PROMPT_PREFIX_WIDTH;