Closed gandalf3 closed 1 year ago
I tried to use this crate to fix https://github.com/mrjackwills/oxker/issues/17, caused by this same bug in another similar crate (https://github.com/kurtlawrence/cansi/issues/7)
Attempting to use into_text() on a string with any escape sequence this crate doesn't explicitly support (for instance, "oops\x1b[\n") triggers an infinite loop.
into_text()
"oops\x1b[\n"
I tried to use this crate to fix https://github.com/mrjackwills/oxker/issues/17, caused by this same bug in another similar crate (https://github.com/kurtlawrence/cansi/issues/7)
Attempting to use
into_text()
on a string with any escape sequence this crate doesn't explicitly support (for instance,"oops\x1b[\n"
) triggers an infinite loop.