sily.tui.render

Undocumented in source.

Members

Enums

ColorMode
enum ColorMode

Render color mode

Functions

clearBuffer
void clearBuffer()

Clears screen buffer

clearRect
void clearRect(uvec2 pos, uvec2 size)
Undocumented in source. Be warned that the author may not have intended to support it.
colorMode
ColorMode colorMode()

Returns current color mode

colorMode
void colorMode(ColorMode c)

Sets color mode

cursorMoveHome
void cursorMoveHome()

Moves cursor in terminal to {0, 0}

cursorMoveTo
void cursorMoveTo(uvec2 pos)

Moves cursor to pos. Allows for chaining

cursorMoveTo
void cursorMoveTo(uint x, uint y)
void cursorMoveTo(ivec2 pos)

Moves cursor to pos. Allows for chaining

escape
string escape(Color c, bool b, ColorMode m)
string escape(Color c, bool b)

Escapes color into bash sequence according to selected color mode

flushBuffer
void flushBuffer()

Writes buffer into stdout and flushes stdout

readBuffer
dstring readBuffer()

Returns screen buffer contents

screenClearOnly
void screenClearOnly()

Clears terminal screen

sizeofBuffer
size_t sizeofBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(A args)

Writes `args into buffer

writeBuffer
void writeBuffer(dstring content)

Replaces buffer contents with content

writef
void writef(A args)

Formatted writes `args into buffer. Slow

Meta