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. It used to have special implementation for Win32 but it was removed as unmaintained during D2 transition.

Input
class Input

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

Output
class Output

Console output accepts UTF8 only.

Variables

Eol
enum istring Eol;
Undocumented in source.

Meta