commit 733116bbfe1dcffac4352d9c5476c6a48d214799
parent cfee6b65477f6bf6b3789cb671a6a6067bd115c7
Author: Sean Enck <sean@ttypty.com>
Date: Tue, 19 Oct 2021 18:50:01 -0400
NOCOLOR should be inverted
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/utils.go b/internal/utils.go
@@ -60,7 +60,7 @@ func GetColor(color Color) (string, string, error) {
if err != nil {
return "", "", err
}
- colors = isColored
+ colors = !isColored
}
if colors {
return termBeginRed, termEndRed, nil