ammonite.terminal

Ansi

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.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. object Attr extends Serializable

  7. object Back extends Category

  8. object Bold extends Category

  9. object Color extends Category

  10. object Reversed extends Category

  11. object Str extends Serializable

  12. object Underlined extends Category

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. val categories: Vector[Category]

  15. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  20. val hardOffMask: Int

  21. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped