google / vulncode-db

Vulncode-DB project
https://www.vulncode-db.com
Apache License 2.0
575 stars 71 forks source link

Fix ANSI escape character on POSIX #87

Closed 3wnbr1 closed 3 years ago

3wnbr1 commented 3 years ago

It seems like the escape \e is not part of the POSIX standard. Therefore on macOS you will experience outputs like [\e[92m+\e[0m] Done

Changing to the octal escape code \033 like python colorama fixes the issue.

evonide commented 3 years ago

Thanks Ewen!