ErrorMode

replpp.shaded.fansi.ErrorMode
See theErrorMode companion object
sealed trait ErrorMode

Used to control what kind of behavior you get if the a CharSequence you are trying to parse into a fansi.Str contains an Ansi escape not recognized by Fansi as a valid color.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Sanitize.type
object Strip.type
object Throw.type

Members list

Value members

Abstract methods

def handle(sourceIndex: Int, raw: CharSequence): Int

Given an unknown Ansi escape was found at sourceIndex inside your raw: CharSequence, what index should you resume parsing at?

Given an unknown Ansi escape was found at sourceIndex inside your raw: CharSequence, what index should you resume parsing at?

Attributes