utest

ufansi

package ufansi

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Attr extends Attrs

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

  2. sealed trait Attrs extends AnyRef

    Represents one or more ufansi.Attrs, that can be passed around as a set or combined with other sets of ufansi.Attrs.

  3. sealed abstract class Category extends AnyRef

    Represents a set of ufansi.Attrs all occupying the same bit-space in the state Int

  4. abstract class ColorCategory extends Category

    * Color a encoded on 25 bit as follow : 0 : reset value 1 - 16 : 3 bit colors 17 - 272 : 8 bit colors 273 - 16 777 388 : 24 bit colors

  5. sealed trait ErrorMode extends AnyRef

    Used to control what kind of behavior you get if the a CharSequence you are trying to parse into a ufansi.Str contains an Ansi escape not recognized by Fansi as a valid color.

  6. case class EscapeAttr extends Attr with Product with Serializable

    An Attr represented by an fansi escape sequence

  7. case class ResetAttr extends Attr with Product with Serializable

    An Attr for which no fansi escape sequence exists

  8. case class Str extends Product with Serializable

    Encapsulates a string with associated ANSI colors and text decorations.

Value Members

  1. object Attr

  2. object Attrs

  3. object Back extends ColorCategory

    Attrs to set or reset the color of your background

  4. object Bold extends Category

    Attrs to turn text bold/bright or disable it

  5. object Color extends ColorCategory

    Attrs to set or reset the color of your foreground text

  6. object ErrorMode

  7. object Reversed extends Category

    Attrs to reverse the background/foreground colors of your text, or un-reverse them

  8. object Str extends Serializable

  9. object Underlined extends Category

    Attrs to enable or disable underlined text

  10. object sourcecode

Ungrouped