Term

Base class for a terminal implementation. The interface only contains the common subset of features available on both platforms (Windows API and ANSI).

Members

Aliases

bg
alias bg = BackgroundColor
Undocumented in source.
fg
alias fg = ForegroundColor

Shorthands

Enums

Color
enum Color

The 16 standard VGA/ANSI colors plus a "none" pseudo-color.

Functions

put
void put(Args args)

Puts some combination of colors and stringifiable objects in order.

putText
void putText(char[] s)
Undocumented in source.
setBackgroundColor
void setBackgroundColor(Color c)
Undocumented in source.
setColor
void setColor(Color fg, Color bg)
Undocumented in source.
setTextColor
void setTextColor(Color c)
Undocumented in source.

Structs

BackgroundColor
struct BackgroundColor
Undocumented in source.
ForegroundColor
struct ForegroundColor

Color wrapping formatting operations for put.

Meta