Attrs

object Attrs
Companion:
class
class Object
trait Matchable
class Any
Attrs.type

Type members

Classlikes

class Multiple extends Attrs

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

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

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

Concrete fields