Console

Low-level console IO support.

Note that for a while this was templated for each of char, wchar, and dchar. It became clear after some usage that the console is more useful if it sticks to UTF8 only. See Console.Conduit below for details.

Redirecting the standard IO handles (via a shell) operates as one would expect, though the redirected content should likely restrict itself to UTF8.

Members

Classes

Conduit
class Conduit

Conduit for specifically handling the console devices. This takes care of certain implementation details on the Win32 platform.

Input
class Input

Model console input as a buffer. Note that we read UTF8 only.

Output
class Output

Console output accepts UTF8 only.

Static variables

Eol
immutable(char)[] Eol;
Undocumented in source.
Eol
immutable(char)[] Eol;
Undocumented in source.

Meta