ReportWriter

The writer interface is used to present information to the user.

Members

Enums

Context
enum Context

The information type. Convey meaning through color with a handful of emphasis utility classes.

Functions

goTo
void goTo(int )

Go back a few lines

hideCursor
void hideCursor()

Hide the cursor from user

showCursor
void showCursor()

Show the cursor from user

width
uint width()

Get how many characters you can print on a line

write
void write(string , Context )

Write a string

writeReverse
void writeReverse(string , Context )

Write a string with reversed colors

writeln
void writeln(string , Context )

Write a string and go to a new line

Meta