Remove vertical borders from input prompt for easier copy/paste

This commit is contained in:
Alexander Farber 2025-12-09 16:37:32 +01:00
parent 5fddcd509c
commit 06c398a015
No known key found for this signature in database
3 changed files with 36 additions and 28 deletions

View file

@ -707,15 +707,20 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
statusText = t('Accepting edits');
}
const borderColor =
isShellFocused && !isEmbeddedShellFocused
? (statusColor ?? theme.border.focused)
: theme.border.default;
return (
<>
<Box
borderStyle="round"
borderColor={
isShellFocused && !isEmbeddedShellFocused
? (statusColor ?? theme.border.focused)
: theme.border.default
}
borderStyle="single"
borderTop={true}
borderBottom={true}
borderLeft={false}
borderRight={false}
borderColor={borderColor}
paddingX={1}
>
<Text