Skip to content

Commit 82404f5

Browse files
author
Bruce Hill
committed
Don't use emojis because they don't render well in some terminals
1 parent 94ee15d commit 82404f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/cmd/dev_view.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,13 @@ func ViewStepSymbol(status, conclusion string) string {
244244
func ViewDiagnosticIcon(level stainless.BuildDiagnosticLevel) string {
245245
switch level {
246246
case stainless.BuildDiagnosticLevelFatal:
247-
return lipgloss.NewStyle().Foreground(lipgloss.Color("1")).Bold(true).Render("💀")
247+
return lipgloss.NewStyle().Foreground(lipgloss.Color("1")).Bold(true).Render("(F)")
248248
case stainless.BuildDiagnosticLevelError:
249-
return lipgloss.NewStyle().Foreground(lipgloss.Color("1")).Render("")
249+
return lipgloss.NewStyle().Foreground(lipgloss.Color("1")).Render("(E)")
250250
case stainless.BuildDiagnosticLevelWarning:
251-
return lipgloss.NewStyle().Foreground(lipgloss.Color("3")).Render("⚠️")
251+
return lipgloss.NewStyle().Foreground(lipgloss.Color("3")).Render("(W)")
252252
case stainless.BuildDiagnosticLevelNote:
253-
return lipgloss.NewStyle().Foreground(lipgloss.Color("6")).Render("ℹ️")
253+
return lipgloss.NewStyle().Foreground(lipgloss.Color("6")).Render("(i)")
254254
default:
255255
return lipgloss.NewStyle().Foreground(lipgloss.Color("8")).Render("•")
256256
}

0 commit comments

Comments
 (0)