Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
[ui] Use only ASCII characters for spinner.
Browse files Browse the repository at this point in the history
  • Loading branch information
cipriancraciun committed Sep 14, 2020
1 parent 7f3f58f commit ba33660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/task_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const progressColor = "blue"

var (
Term = !color.NoColor
progressIndicator = spinner.CharSets[39] // spinning hearth
progressIndicator = spinner.CharSets[9]
)

type TaskTracker struct {
Expand Down
6 changes: 3 additions & 3 deletions ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ func AskForInput(message, defaultValue string) (string, error) {
}

func DoneCheck() string {
return color.GreenString("")
return color.GreenString("[x]")
}

func ErrorCheck() string {
return color.RedString("")
return color.RedString("[!]")
}

func WorldCheck() string {
return color.GreenString("🌎")
return color.GreenString("[x]")
}

func Bold(msg string, args ...interface{}) {
Expand Down

0 comments on commit ba33660

Please sign in to comment.