Viewport

Display buffer

Members

Functions

fillLine
uint fillLine(dchar c, Color fg, Color bg, uint max)

Fills line, starting from current coordinates, with maximum max number of chars, if max>0

isWritable
bool isWritable(uint x, uint y)

if x and y are at a position where writing can happen

moveTo
void moveTo(uint x, uint y)

move to a position. if x > width, moved to x=0 of next row

write
bool write(dchar c, Color fg, Color bg)

Writes a character at current position and move ahead

write
uint write(dstring s, Color fg, Color bg)

Writes a string.

Meta