X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=log.go;h=2a3d805d7cb497c402f15a766d0cfd08ce72ef13;hb=19b13ea1334d377dd9c6a36ea70c9141b8fd447d;hp=c9f9119f1171ece282486d118e1391b1a0241438;hpb=d8abe40c66df8d79a025524c0d230959cacf9465;p=goredo.git diff --git a/log.go b/log.go index c9f9119..2a3d805 100644 --- a/log.go +++ b/log.go @@ -1,6 +1,6 @@ /* goredo -- djb's redo implementation on pure Go -Copyright (C) 2020-2021 Sergey Matveev +Copyright (C) 2020-2022 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