W3cubDocs

/Pony

_Color

[Source]

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

[Source]

new val create()
: _Color val^

Returns

Public Functions

reset

[Source]

Resets all colours and text styles to the default.

fun box reset()
: String val

Returns

red

[Source]

Bright red text.

fun box red()
: String val

Returns

green

[Source]

Bright green text.

fun box green()
: String val

Returns

eq

[Source]

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

Parameters

Returns

ne

[Source]

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

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ponytest-_Color