Skip to content

Commit

Permalink
fix print stayus (#41)
Browse files Browse the repository at this point in the history
* fix print stayus

* fix
  • Loading branch information
sunny0826 committed Feb 5, 2021
1 parent 72eceb0 commit fe11e48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func printKV(out io.Writer, prefix string, kv map[string]int) {
fmt.Fprint(out, prefix)
ct.ResetColor()
for k, v := range kv {
ct.ChangeColor(ct.Blue, false, ct.None, false)
ct.ChangeColor(ct.Cyan, false, ct.None, false)
fmt.Fprint(out, k)
fmt.Fprint(out, ": ")
ct.ResetColor()
Expand All @@ -370,6 +370,7 @@ func printKV(out io.Writer, prefix string, kv map[string]int) {
ct.ResetColor()
fmt.Fprint(out, " ")
}
fmt.Fprint(out, "\n")
}

func printYellow(out io.Writer, content string) {
Expand Down

0 comments on commit fe11e48

Please sign in to comment.