From 1e1f38a89dcb87b4cf04d3de5c4315d83ba87923 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 22 Nov 2019 23:14:40 +0100 Subject: [PATCH] fix print colors --- print.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/print.go b/print.go index 082e359..f1a577e 100644 --- a/print.go +++ b/print.go @@ -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) }