- clearBuffer
void clearBuffer()
- 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)
- 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()
- sizeofBuffer
size_t sizeofBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
- write
void write(A args)
- writeBuffer
void writeBuffer(dstring content)
Replaces buffer contents with content
- writef
void writef(A args)
Formatted writes `args into buffer. Slow