Sanitize
fansi.ErrorMode.Sanitize
Skip the \u001b
that kicks off the unknown Ansi escape but leave subsequent characters in place, so the end-user can see that an Ansi escape was entered e.g. via the [A[B[A[C that appears in the result
Attributes
Members list
In this article