Skip to content

Commit eb607ac

Browse files
committed
fix: revert wrap change, keep truncate for multi-select list
Since panels now default to fullWidth, the truncation issue is solved by the wider panel itself. Keeping truncate avoids visual ambiguity on narrow terminals where wrapped text could overlap adjacent rows.
1 parent 2bf9331 commit eb607ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cli/tui/components/MultiSelectList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function MultiSelectList<T extends SelectableItem>(props: MultiSelectList
4747
const checkbox = isChecked ? '[✓]' : '[ ]';
4848
return (
4949
<Box key={item.id}>
50-
<Text wrap="wrap">
50+
<Text wrap="truncate">
5151
<Text color={isCursor ? 'cyan' : undefined}>{isCursor ? '❯' : ' '} </Text>
5252
<Text color={isChecked ? 'green' : undefined}>{checkbox} </Text>
5353
<Text color={isCursor ? 'cyan' : undefined}>{item.title}</Text>

0 commit comments

Comments
 (0)