EscapeAttr

replpp.shaded.fansi.EscapeAttr
case class EscapeAttr extends Attr

An Attr represented by an fansi escape sequence

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Attr
trait Attrs
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def ++(other: Attrs): Attrs

Combine this fansi.Attr with one or more other fansi.Attrs so they can be passed around together

Combine this fansi.Attr with one or more other fansi.Attrs so they can be passed around together

Attributes

Inherited from:
Attr
def apply(s: Str): Str

Apply these Attrs to the given fansi.Str, making it take effect across the entire length of that string.

Apply these Attrs to the given fansi.Str, making it take effect across the entire length of that string.

Attributes

Inherited from:
Attrs
def attrs: Seq[Attr]

Attributes

Inherited from:
Attr
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def transform(state: State): Long

Apply the current Attrs to the Str.State integer, modifying it to represent the state after all changes have taken effect

Apply the current Attrs to the Str.State integer, modifying it to represent the state after all changes have taken effect

Attributes

Inherited from:
Attrs

Concrete fields

val escapeOpt: Option[String]

escapeOpt the actual ANSI escape sequence corresponding to this Attr

escapeOpt the actual ANSI escape sequence corresponding to this Attr

Attributes

val name: String