formatError formats an error message in red.
(msg string, r *lipgloss.Renderer)
| 167 | |
| 168 | // formatError formats an error message in red. |
| 169 | func formatError(msg string, r *lipgloss.Renderer) string { |
| 170 | return r.NewStyle().Foreground(lipgloss.Color("1")).Render(msg) |
| 171 | } |
| 172 | |
| 173 | // formatWarning formats a warning message in yellow. |
| 174 | func formatWarning(msg string, r *lipgloss.Renderer) string { |
no outgoing calls