Ansi

kyo.Ansi
object Ansi

Provides ANSI color and formatting utilities for strings.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Ansi.type

Members list

Type members

Classlikes

object highlight

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
highlight.type

Extensions

Extensions

extension (str: String)
def black: String

Applies black color to the string.

Applies black color to the string.

Attributes

def blue: String

Applies blue color to the string.

Applies blue color to the string.

Attributes

def bold: String

Applies bold formatting to the string.

Applies bold formatting to the string.

Attributes

def cyan: String

Applies cyan color to the string.

Applies cyan color to the string.

Attributes

def dim: String

Applies dim formatting to the string.

Applies dim formatting to the string.

Attributes

def green: String

Applies green color to the string.

Applies green color to the string.

Attributes

def grey: String

Applies grey color to the string.

Applies grey color to the string.

Attributes

def italic: String

Applies italic formatting to the string.

Applies italic formatting to the string.

Attributes

def magenta: String

Applies magenta color to the string.

Applies magenta color to the string.

Attributes

def red: String

Applies red color to the string.

Applies red color to the string.

Attributes

def stripAnsi: String

Removes all ANSI escape sequences from the string.

Removes all ANSI escape sequences from the string.

Attributes

def underline: String

Applies underline formatting to the string.

Applies underline formatting to the string.

Attributes

def white: String

Applies white color to the string.

Applies white color to the string.

Attributes

def yellow: String

Applies yellow color to the string.

Applies yellow color to the string.

Attributes