Open kathawala opened 6 years ago
resolve conflicts?
Looks like this causes an infinite hang on my machine on your text example in both 2.7 and 3.7. Will try and play around more with this and figure out what's going on and why it worked 2 years ago and not now.
Issue #9 shows that ANSI escape sequences aren't detected when coloring strings, which leads to a
ColorString
formatted with anotherColorString
to lose its color information at the end. This fix finds any ANSI escape sequences usingre
and works around them.As a test case: