on main help sign in
chore: lint
commitc1ba488e85291796b604e19b11b7f73c217a19f9 authorKujtim Hoxha <kujtimii.h@gmail.com> dateWed 16 Jul 2025, 11:19 (1 year ago) parent2885e71
2 files changed+2−3
internal/tui/components/anim/anim.go+2−2 internal/tui/components/chat/messages/messages.go−1
internal/tui/components/anim/anim.go+2−2
@@ -196,13 +196,13 @@ func New(opts Settings) (a Anim) {
196196// SetLabel updates the label text and re-renders it.
197197func (a *Anim) SetLabel(newLabel string) {
198198 a.labelWidth = lipgloss.Width(newLabel)
199−
199+
200200 // Update total width
201201 a.width = a.cyclingCharWidth
202202 if newLabel != "" {
203203 a.width += labelGapWidth + a.labelWidth
204204 }
205−
205+
206206 // Re-render the label
207207 a.renderLabel(newLabel)
208208}
internal/tui/components/chat/messages/messages.go−1
@@ -266,7 +266,6 @@ func (m *messageCmp) renderThinkingContent() string {
266266 } else {
267267 footer = m.anim.View()
268268 }
269−
270269 }
271270 return lineStyle.Width(m.textWidth()).Padding(0, 1).Render(m.thinkingViewport.View()) + "\n\n" + footer
272271}