Terminal.this - multiple declarations

Function Terminal.this

@disable this();

Function Terminal.this

Constructs an instance of Terminal representing the capabilities of the current terminal.

this (
  ConsoleOutputType type,
  int fdIn = 0,
  int fdOut = 1,
  int[] delegate() getSizeOverride = cast(int[] delegate())null
);

While it is possible to override the stdin+stdout file descriptors, remember that is not portable across platforms and be sure you know what you're doing.

ditto on getSizeOverride. That's there so you can do something instead of ioctl.