Closed ItsABlackScreen closed 1 year ago
I see. I did some tricks to avoid printing anything when the text was only an escape code. Try closing your color code, it is missing the 0 at the end.
Humm, you're right, even including the finalizer you forgot, it still doesn't print anything...
In [3]: with alive_bar(25) as bar:
...: for i in range(25):
...: print(f"\033[93mNOT FOUND : \033[0m")
...: bar()
...:
on 0:
on 1:
on 2:
on 3:
...
It is released @ItsABlackScreen! 👍
With the recent update to 3.1.1 has introduced a bug relating to ansi codes.
Code
Result
The issue also happens when using colorama and is not present on 3.1.0
Tested on Python version : [3.11.3 , 3.9.7]