Closed Ogaday closed 5 years ago
The replacement is a little complicated by the fact that colorama
and termstyle
handle things differently; it seems colorama
is a little more clever, and will handle all the ANSI codes as they're printed, not before, unlike termstyle
. See the commit message for 9aefd32. However, this gives us less control. So far, I'm trying to replicate the old logic with the new lib. As I said in the commit message, I'm not sure if the call to restoreColor
is actually necessary or not.
Still to come are removing references to termstyle
from the docstrings & config.
✅ I'm going to merge this and finish it up. Thanks for getting this started!
Yay, thanks! Wasn't sure what was needed to finish this up and I was a bit confused by the different assumptions they made. Good to see this merged in.
Included in 2.13.1 (just released).
@Ogaday No problem! Thanks for getting this going--that really helps me. Time is my scarcest resource.
PR to resolve #186.