on main help sign in
chore: fix truncation line
367e381Kujtim Hoxha
internal/tui/components/chat/messages/renderer.go+1−1
@@ -309,7 +309,7 @@ func (er editRenderer) Render(v *toolCallCmp) string {
309 truncateMessage := t.S().Muted.
309 truncateMessage := t.S().Muted.
310 Background(t.BgBaseLighter).
310 Background(t.BgBaseLighter).
311 PaddingLeft(2).
311 PaddingLeft(2).
312− Width(v.textWidth() - 4).
312+ Width(v.textWidth() - 2).
313 Render(fmt.Sprintf("… (%d lines)", len(contentLines)-responseContextHeight))
313 Render(fmt.Sprintf("… (%d lines)", len(contentLines)-responseContextHeight))
314 formatted = strings.Join(contentLines[:responseContextHeight], "\n") + "\n" + truncateMessage
314 formatted = strings.Join(contentLines[:responseContextHeight], "\n") + "\n" + truncateMessage
315 }
315 }