]> Cypherpunks.ru repositories - goredo.git/blobdiff - log.go
Missing NO_COLOR check
[goredo.git] / log.go
diff --git a/log.go b/log.go
index bb286edc02ad4c1b4ecff886fb861e9510f2ac9c..2a3d805d7cb497c402f15a766d0cfd08ce72ef13 100644 (file)
--- a/log.go
+++ b/log.go
@@ -102,7 +102,7 @@ func init() {
 }
 
 func erasedStatus(s, end string) string {
-       if NoProgress {
+       if NoProgress || NoColor {
                return s + end
        }
        return s + KeyEraseLine + end