ANSI
[Source]
primitive val ANSI is
TerminalEscapeCodes ref
Implements
Constructors
create
[Source]
new val create()
: ANSI val^
Returns
Public Functions
up
[Source]
fun box up(
n: U32 val = 0)
: String val
Parameters
Returns
down
[Source]
fun box down(
n: U32 val = 0)
: String val
Parameters
Returns
right
[Source]
fun box right(
n: U32 val = 0)
: String val
Parameters
Returns
left
[Source]
fun box left(
n: U32 val = 0)
: String val
Parameters
Returns
cursor
[Source]
fun box cursor(
x: U32 val = 0,
y: U32 val = 0)
: String val
Parameters
Returns
clear
[Source]
fun box clear(
how_much: (EraseBefore val | EraseAfter val | EraseAll val) = reference)
: String val
Parameters
Returns
erase
[Source]
fun box erase(
how_much: (EraseBefore val | EraseAfter val | EraseAll val) = reference)
: String val
Parameters
Returns
reset
[Source]
fun box reset()
: String val
Returns
bold
[Source]
fun box bold(
state: Bool val = true)
: String val
Parameters
Returns
underline
[Source]
fun box underline(
state: Bool val = true)
: String val
Parameters
Returns
blink
[Source]
fun box blink(
state: Bool val = true)
: String val
Parameters
Returns
reverse
[Source]
fun box reverse(
state: Bool val = true)
: String val
Parameters
Returns
black
[Source]
fun box black()
: String val
Returns
red
[Source]
fun box red()
: String val
Returns
green
[Source]
fun box green()
: String val
Returns
yellow
[Source]
fun box yellow()
: String val
Returns
blue
[Source]
fun box blue()
: String val
Returns
magenta
[Source]
fun box magenta()
: String val
Returns
cyan
[Source]
fun box cyan()
: String val
Returns
grey
[Source]
fun box grey()
: String val
Returns
white
[Source]
fun box white()
: String val
Returns
bright_red
[Source]
fun box bright_red()
: String val
Returns
bright_green
[Source]
fun box bright_green()
: String val
Returns
bright_yellow
[Source]
fun box bright_yellow()
: String val
Returns
bright_blue
[Source]
fun box bright_blue()
: String val
Returns
bright_magenta
[Source]
fun box bright_magenta()
: String val
Returns
bright_cyan
[Source]
fun box bright_cyan()
: String val
Returns
bright_grey
[Source]
fun box bright_grey()
: String val
Returns
black_bg
[Source]
fun box black_bg()
: String val
Returns
red_bg
[Source]
fun box red_bg()
: String val
Returns
green_bg
[Source]
fun box green_bg()
: String val
Returns
yellow_bg
[Source]
fun box yellow_bg()
: String val
Returns
blue_bg
[Source]
fun box blue_bg()
: String val
Returns
magenta_bg
[Source]
fun box magenta_bg()
: String val
Returns
cyan_bg
[Source]
fun box cyan_bg()
: String val
Returns
grey_bg
[Source]
fun box grey_bg()
: String val
Returns
white_bg
[Source]
fun box white_bg()
: String val
Returns
bright_red_bg
[Source]
fun box bright_red_bg()
: String val
Returns
bright_green_bg
[Source]
fun box bright_green_bg()
: String val
Returns
bright_yellow_bg
[Source]
fun box bright_yellow_bg()
: String val
Returns
bright_blue_bg
[Source]
fun box bright_blue_bg()
: String val
Returns
bright_magenta_bg
[Source]
fun box bright_magenta_bg()
: String val
Returns
bright_cyan_bg
[Source]
fun box bright_cyan_bg()
: String val
Returns
bright_grey_bg
[Source]
fun box bright_grey_bg()
: String val
Returns
cursor_save
[Source]
fun box cursor_save()
: String val
Returns
cursor_restore
[Source]
fun box cursor_restore()
: String val
Returns
cursor_hide
[Source]
fun box cursor_hide()
: String val
Returns
cursor_show
[Source]
fun box cursor_show()
: String val
Returns
switch_to_alt_screen
[Source]
fun box switch_to_alt_screen()
: String val
Returns
switch_to_normal_screen
[Source]
fun box switch_to_normal_screen()
: String val
Returns
mouse_enable
[Source]
fun box mouse_enable()
: String val
Returns
mouse_disable
[Source]
fun box mouse_disable()
: String val
Returns
reset_color
[Source]
fun box reset_color()
: String val
Returns
reset_color_bg
[Source]
fun box reset_color_bg()
: String val
Returns
color
[Source]
fun box color(
fg: U8 val)
: String val
Parameters
Returns
color_bg
[Source]
fun box color_bg(
bg: U8 val)
: String val
Parameters
Returns
faint
[Source]
fun box faint(
state: Bool val = true)
: String val
Parameters
Returns
italics
[Source]
fun box italics(
state: Bool val = true)
: String val
Parameters
Returns
invert
[Source]
fun box invert(
state: Bool val = true)
: String val
Parameters
Returns
conceal
[Source]
fun box conceal(
state: Bool val = true)
: String val
Parameters
Returns
strikeout
[Source]
fun box strikeout(
state: Bool val = true)
: String val
Parameters
Returns
repeat_char
[Source]
fun box repeat_char(
char: String val,
times: U32 val)
: String val
Parameters
Returns
eq
[Source]
fun box eq(
that: ANSI val)
: Bool val
Parameters
Returns
ne
[Source]
fun box ne(
that: ANSI val)
: Bool val
Parameters
Returns