Skip to content

Commit d30c481

Browse files
authored
Merge pull request docker#1407 from rumpl/no-push-right
Stop pushing things to the right
2 parents 8b5b7fb + b6b683d commit d30c481

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/tui/components/tool/readmultiplefiles/readmultiplefiles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func render(msg *types.Message, s spinner.Spinner, sessionState *service.Session
7070
// Truncate output to fit
7171
renderedOutput = outputStyle.Render(toolcommon.TruncateText(summary.output, remainingWidth))
7272
}
73-
output := lipgloss.PlaceHorizontal(remainingWidth, lipgloss.Right, renderedOutput)
73+
output := renderedOutput
7474

7575
content.WriteString(readCall)
7676
content.WriteString(" ")

pkg/tui/components/toolcommon/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func RenderTool(msg *types.Message, inProgress spinner.Spinner, args, result str
170170
// Truncate result to fit, leaving space for ellipsis
171171
renderedResult = resultStyle.Render(TruncateText(result, remainingWidth))
172172
}
173-
content += " " + lipgloss.PlaceHorizontal(remainingWidth, lipgloss.Right, renderedResult)
173+
content += " " + renderedResult
174174
}
175175
}
176176

0 commit comments

Comments
 (0)