TermWrapper

Wrapper to arsd.terminal to make it bit easier to manage

Constructors

this
this()

constructor

Destructor

~this
~this()
Undocumented in source.

Members

Functions

color
void color(Color fg, Color bg)

sets colors

flush
void flush()

flush to terminal

getEvent
bool getEvent(int msecTimeout, Event event)

waits msecTimeout msecs for event to occur. Returns as soon as it occurs (or if one had occurred before calling it)

moveCursor
void moveCursor(int x, int y)

moves cursor to position

put
void put(int x, int y, dchar ch)

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

Properties

cursorVisible
bool cursorVisible [@property setter]

Set true to show cursor, false to hide cursor

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

Meta