fix print colors

This commit is contained in:
Adrien Marquès 2019-11-22 23:14:40 +01:00
parent df9f300ff8
commit 1e1f38a89d
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ func bold(str string) string {
}
func success(str string) string {
return fmt.Sprintf("\x1b[58;2;26;221;120m%s\x1b[0m", str)
return fmt.Sprintf("\x1b[38;2;26;221;120m%s\x1b[0m", str)
}
func error(str string) string {
return fmt.Sprintf("\x1b[58;2;221;26;120m%s\x1b[0m", str)
return fmt.Sprintf("\x1b[38;2;221;26;120m%s\x1b[0m", str)
}