fix print colors
This commit is contained in:
parent
df9f300ff8
commit
1e1f38a89d
4
print.go
4
print.go
|
@ -7,9 +7,9 @@ func bold(str string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func success(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 {
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue