X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=log.go;h=f4abdd078f41fc9b5e5aae1ee2dc2bd66633ba7a;hb=60540b7e2988b9c8291bf18409cccbcb26cd356d;hp=bb286edc02ad4c1b4ecff886fb861e9510f2ac9c;hpb=0030b3e73152bf9d9ad3e435fa42e607c7865321;p=goredo.git diff --git a/log.go b/log.go index bb286ed..f4abdd0 100644 --- a/log.go +++ b/log.go @@ -1,6 +1,6 @@ /* goredo -- djb's redo implementation on pure Go -Copyright (C) 2020-2022 Sergey Matveev +Copyright (C) 2020-2023 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -102,7 +102,7 @@ func init() { } func erasedStatus(s, end string) string { - if NoProgress { + if NoProgress || NoColor { return s + end } return s + KeyEraseLine + end