TermWrapper

Wrapper to arsd.terminal to make it work bit more like termbox-d

Constructors

this
this()

constructor

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

color
void color(Color fg, Color bg)

sets terminal colors. fg is foreground, bg is background

fill
void fill(char ch)

fills all cells with a character

fill
void fill(char ch, int x1, int x2, int y1, int y2)

fills a rectangle with a character

flush
void flush()

flush to terminal

getKey
char getKey()
height
int height()
put
void put(int x, int y, char ch)

writes a character ch at a position (x, y)

put
void put(int x, int y, char ch, Color fg, Color bg)

writes a character ch at a position (x, y) with fg as foreground ang bg as background color

width
int width()

Meta