@@ -100,9 +100,12 @@ func (s *Status) Draw(scr uv.Screen, area uv.Rectangle) {
100100 }
101101
102102 ind := indStyle.String()
103− messageWidth := max(0, area.Dx()-lipgloss.Width(ind)-msgStyle.GetHorizontalPadding())
104− msg := ansi.Truncate(s.msg.Msg, messageWidth, "…")
105− msg += strings.Repeat(" ", max(0, messageWidth-lipgloss.Width(msg)))
103+ indWidth := lipgloss.Width(ind)
104+ msg := strings.Join(strings.Split(s.msg.Msg, "\n"), " ")
105+ msgWidth := lipgloss.Width(msg)
106+ msg = ansi.Truncate(msg, area.Dx()-indWidth-msgWidth, "…")
107+ padWidth := max(0, area.Dx()-indWidth-msgWidth)
108+ msg += strings.Repeat(" ", padWidth)
106109 info := msgStyle.Render(msg)
107110
108111 // Draw the info message over the help view