Skip to content

Commit 7b581eb

Browse files
committed
fix(cli): make collapsed terminal output fill available width
1 parent 4826720 commit 7b581eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/src/components/tools/tool-call-item.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,13 @@ export const ToolCallItem = ({
239239
paddingRight: 0,
240240
paddingTop: 0,
241241
paddingBottom: 0,
242+
width: '100%',
242243
}}
243244
>
244245
<text
245246
fg={isStreaming ? theme.foreground : theme.muted}
246247
attributes={getAttributes(TextAttributes.ITALIC)}
248+
style={{ wrapMode: 'word' }}
247249
>
248250
{collapsedPreviewText}
249251
</text>

0 commit comments

Comments
 (0)