interactive_print library

Functions

capturePrint(void body()) → void
Captures calls to print in the body and forwards them to writeln.
write(String string) → void
Writes string to the console without adding a newline.
writeln([String string = '']) → void
Writes string to the console and adds a newline if the string doesn't end in one.