Sanitize

caseapp.core.util.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 Product
trait Equals
trait ErrorMode
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton

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

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product