writeln

fnvoid writeln(T...)(T t)

A writeln (and friends) that actually works, at least for some basic types.

It works correctly on Windows, using the correct functions to write unicode to the console, even allocating a console if needed. If the output has been redirected to a file or pipe, it writes UTF-8.

This always does text. See also WritableStream and WritableTextStream when they are implemented.