You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python -c "import halo; print('\033[93mfail\33[0m')"
prints "fail" in red $ python -c "import halo; print('\033[31mfail\33[0m')" | cat
prints "fail" without color
This has many effects, including causing pytest --color=yes to stop working.
System settings
Halo version: 0.0.28
Expected behaviour
Importing halo should not affect terminal output. Halo should probably only import colorama on windows, and should not be calling colorama.init.
The text was updated successfully, but these errors were encountered:
Description
$ python -c "import halo; print('\033[93mfail\33[0m')"
prints "fail" in red
$ python -c "import halo; print('\033[31mfail\33[0m')" | cat
prints "fail" without color
This has many effects, including causing
pytest --color=yes
to stop working.System settings
Expected behaviour
Importing halo should not affect terminal output. Halo should probably only import colorama on windows, and should not be calling colorama.init.
The text was updated successfully, but these errors were encountered: