ANSITerm

ANSI escape sequence based terminal.

Constructors

this
this(File f)
Undocumented in source.

Members

Functions

setBackgroundColor
void setBackgroundColor(Color c)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(Color fg, Color bg)
Undocumented in source. Be warned that the author may not have intended to support it.
setTextColor
void setTextColor(Color c)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

ansiColor
int ansiColor(Color c, bool background)

Convert a Color to an ANSI color number.

isTerm
bool isTerm(File f)

Returns true if f is a TTY and TERM is set to anything other than "dumb".

Inherited Members

From FileTerm

f
File f;
putText
void putText(char[] s)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta