dotty.tools.dotc.repl.ammonite.terminal

Ansi

Related Doc: package terminal

object Ansi

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Ansi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Attr extends Product with Serializable

    Represents a single, atomic ANSI escape sequence that results in a color, background or decoration being added to the output.

  2. sealed abstract class Category extends AnyRef

    Represents a set of Ansi.Attrs all occupying the same bit-space in the state Short

  3. type State = Short

    An Ansi.Str's colors array is filled with shorts, each representing the ANSI state of one character encoded in its bits.

    An Ansi.Str's colors array is filled with shorts, each representing the ANSI state of one character encoded in its bits. Each Attr belongs to a Category that occupies a range of bits within each short:

    15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 |-----------| |--------| |--------| | | |bold | | | | |reversed | | | |underlined | | |foreground-color | |background-color |unused

    The 0000 0000 0000 0000 short corresponds to plain text with no decoration

  4. case class Str extends Product with Serializable

    Encapsulates a string with associated ANSI colors and text decorations.

    Encapsulates a string with associated ANSI colors and text decorations.

    Contains some basic string methods, as well as some ansi methods to e.g. apply particular colors or other decorations to particular sections of the Ansi.Str. render flattens it out into a java.lang.String with all the colors present as ANSI escapes.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object Attr extends Serializable

  5. object Back extends Category

  6. object Bold extends Category

  7. object Color extends Category

  8. object Reversed extends Category

  9. object Str extends Serializable

  10. object Underlined extends Category

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. val categories: List[Category]

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. val hardOffMask: Int

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped