TermWrapper

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

Constructors

this
this()

constructor

Destructor

~this
~this()
Undocumented in 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()
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

Properties

height
int height [@property getter]
width
int width [@property getter]

Meta