_Color

Strings to embedded in text to specify colours. These are copies of the strings defined in packages/term. They are duplicated here to avoid a dependency.

primitive val _Color

Constructors

create

new val create()
: _Color val^

Returns


Public Functions

reset

Resets all colours and text styles to the default.

fun box reset()
: String val

Returns


red

Bright red text.

fun box red()
: String val

Returns


green

Bright green text.

fun box green()
: String val

Returns


eq

fun box eq(
  that: _Color val)
: Bool val

Parameters

Returns


ne

fun box ne(
  that: _Color val)
: Bool val

Parameters

Returns