Attrs

replpp.shaded.fansi.Attrs$
See theAttrs companion trait
object Attrs

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Attrs.type

Members list

Type members

Classlikes

class Multiple extends Attrs

Attributes

Supertypes
trait Attrs
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(attrs: Attr*): Attrs
def emitAnsiCodes(currentState: State, nextState: State): String

Emit the ansi escapes necessary to transition between two states, if necessary, as a java.lang.String

Emit the ansi escapes necessary to transition between two states, if necessary, as a java.lang.String

Attributes

def emitAnsiCodes0(currentState: State, nextState: State, output: StringBuilder, categoryArray: Array[Category]): Unit

Messy-but-fast version of emitAnsiCodes that avoids allocating things unnecessarily. Reads it's category listing from a fast Array version of Attrs.categories and writes it's output to a mutable StringBuilder

Messy-but-fast version of emitAnsiCodes that avoids allocating things unnecessarily. Reads it's category listing from a fast Array version of Attrs.categories and writes it's output to a mutable StringBuilder

Attributes

def toSeq(attrs: Attrs): Seq[Attr]

Concrete fields

val Empty: Attrs