Render

Renderer

Members

Static functions

at
Render at(uint x, uint y)

Moves cursor to pos. Allows for chaining

clearBuffer
void clearBuffer()

Clears screen buffer

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}

flushBuffer
void flushBuffer()

Writes buffer into stdout and flushes stdout

readBuffer
dstring readBuffer()

Returns screen buffer contents

screenClearOnly
void screenClearOnly()

Clears terminal screen

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