AnsiColors

object AnsiColors extends AnsiColors
Companion:
class
class Object
trait Matchable
class Any

Type members

Inherited classlikes

implicit class AnsiColorOps(s: String)
Inherited from:
AnsiColors

Value members

Inherited methods

def color(s: String, color: AnsiColor, doIt: Boolean): String
Returns:

a colored string (if args.color == true) color markers are inserted at the beginning and end of each line so that newlines are preserved

Inherited from:
AnsiColors
def removeColors(s: String, doIt: Boolean): String
Returns:

a string with no color codes

Inherited from:
AnsiColors
override def toString: String
Definition Classes
AnsiColors -> Any
Inherited from:
AnsiColors

Inherited fields

lazy val all: Seq[AnsiColor]
Inherited from:
AnsiColors
lazy val allColors: Seq[AnsiColor]
Inherited from:
AnsiColors
lazy val black: AnsiColor
Inherited from:
AnsiColors
lazy val blue: AnsiColor
Inherited from:
AnsiColors
lazy val cyan: AnsiColor
Inherited from:
AnsiColors
lazy val green: AnsiColor
Inherited from:
AnsiColors
lazy val magenta: AnsiColor
Inherited from:
AnsiColors
lazy val red: AnsiColor
Inherited from:
AnsiColors
lazy val reset: AnsiColor
Inherited from:
AnsiColors
lazy val white: AnsiColor
Inherited from:
AnsiColors
lazy val yellow: AnsiColor
Inherited from:
AnsiColors

Implicits

Inherited implicits

final implicit def AnsiColorOps(s: String): AnsiColorOps
Inherited from:
AnsiColors