BufferedWriter

You can use this writer if you don't want to keep the data in memmory It's useful for unit testing. It supports line navigation, with no color The context info might be added in the future, once a good format is found.

Members

Functions

goTo
void goTo(int y)

go uo y lines

hideCursor
void hideCursor()

does nothing

showCursor
void showCursor()

does nothing

width
uint width()

returns 80

write
void write(string text, Context )
writeReverse
void writeReverse(string text, Context c)
writeln
void writeln(string text, Context c)

Variables

buffer
string buffer;

The buffer used to write the data

Inherited Members

From ReportWriter

Context
enum Context

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

goTo
void goTo(int )

Go back a few lines

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

showCursor
void showCursor()

Show the cursor from user

hideCursor
void hideCursor()

Hide the cursor from user

width
uint width()

Get how many characters you can print on a line

Meta