Console

Public Imports

core.sys.posix.unistd
public import core.sys.posix.unistd;

Members

Functions

resetColor
void resetColor()

Reset console attributes to what they were when create() was called.

setColor
void setColor(Color color)

Set color and intensity.

setColorBright
void setColorBright(bool bright)

Turn on/off intensity.

Static functions

create
Console* create(FILE* fp)

Create an instance of Console connected to stream fp.

detectTerminal
bool detectTerminal()

Tries to detect whether DMD has been invoked from a terminal.

detectTerminal
bool detectTerminal()

Tries to detect whether DMD has been invoked from a terminal.

Meta