Sanitize

fansi.ErrorMode.Sanitize
case object Sanitize extends ErrorMode

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

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorMode
class Object
trait Matchable
class Any
Show all
Self type
Sanitize.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete 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

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product