summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/InputPrompt.tsx
diff options
context:
space:
mode:
authorGal Zahavi <[email protected]>2025-08-07 15:55:53 -0700
committerGitHub <[email protected]>2025-08-07 22:55:53 +0000
commit4f2974dbfe36638915f1b08448d2563c64f88644 (patch)
tree3c895adaad2de5a9e1ac14495c78f1b06d6c7d8d /packages/cli/src/ui/components/InputPrompt.tsx
parent65e4b941ee96525895b5a11fcb95725817478775 (diff)
feat(ui): Improve UI layout adaptation for narrow terminals (#5651)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
-rw-r--r--packages/cli/src/ui/components/InputPrompt.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx
index b405b684..7a7a9934 100644
--- a/packages/cli/src/ui/components/InputPrompt.tsx
+++ b/packages/cli/src/ui/components/InputPrompt.tsx
@@ -536,7 +536,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
</Box>
</Box>
{completion.showSuggestions && (
- <Box>
+ <Box paddingRight={2}>
<SuggestionsDisplay
suggestions={completion.suggestions}
activeIndex={completion.activeSuggestionIndex}
@@ -548,7 +548,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
</Box>
)}
{reverseSearchActive && (
- <Box>
+ <Box paddingRight={2}>
<SuggestionsDisplay
suggestions={reverseSearchCompletion.suggestions}
activeIndex={reverseSearchCompletion.activeSuggestionIndex}