renderRetrying renders a retry message.
(entry LogEntry)
| 607 | |
| 608 | // renderRetrying renders a retry message. |
| 609 | func (l *LogViewer) renderRetrying(entry LogEntry) []string { |
| 610 | retryStyle := lipgloss.NewStyle(). |
| 611 | Foreground(WarningColor). |
| 612 | Bold(true) |
| 613 | |
| 614 | text := entry.Text |
| 615 | if text == "" { |
| 616 | text = "Retrying..." |
| 617 | } |
| 618 | |
| 619 | return []string{retryStyle.Render("🔄 " + text)} |
| 620 | } |
| 621 | |
| 622 | // renderWatchdogTimeout renders a watchdog timeout message. |
| 623 | func (l *LogViewer) renderWatchdogTimeout(entry LogEntry) []string { |