stderr isn't reset on exit
Opened this issue · 0 comments
cjerdonek commented
colorama doesn't seem to reset stderr properly on program exit.
This resulted in the following pip issue: pypa/pip#6354
It causes the color to remain in the user's terminal.
It's possible this is caused by the fact that colorama's reset_all()
which it calls on exit only resets orig_stdout
and not orig_stderr
, which is where the color is happening:
colorama/colorama/initialise.py
Lines 18 to 20 in d7a5382
See also the related issue #200.