Construct a FormatOutput instance, tying the provided stream to a layout formatter.
Carriage return (sends cursor back to the start of the line).
Background colour changing methods.
Foreground colour changing methods.
Move the cursor up a line
Background colour class. Resets the default background colour, if it has been changed, when scope exits.
Foreground text colour scope class. Resets the default text colour, if it has been changed, when scope exits.
Sets / unsets bold text output.
Output terminal control characters to clear the rest of the line. Note: does not flush. (Flush explicitly if you need to.)
Template method to output a CSI sequence
Move the current cursor position to the last row of the terminal. This method adapts to changes in the size of the terminal.
Emit/purge buffered content.
Control implicit flushing of newline(), where true enables flushing. An explicit flush() will always flush the output.
See FormatOutput.format
See FormatOutput.formatln
Output a newline and optionally flush.
True if it's redirected.
Format the provided arguments to the stream according to the format string
Format the provided arguments to the stream according to the format string, and append a newline to the output.
Output a newline and optionally flush.
Control implicit flushing of newline(), where true enables flushing. An explicit flush() will always flush the output.
Return the associated output stream.
Set the associated output stream.
Sink for passing to the formatter.
Terminal output class.
Derived from FormatOutput in ocean.io.stream.Format, and reimplements methods to return typeof(this), for easy method chaining. Note that not all methods are reimplemented in this way, only those which we commonly use. Others may be added if needed.