void cwrite(S...)(S args)

Output of color text.

void cwriteln(S...)(S args)

Output of color text with line ending.

bool isTTY(File f = stdout)

Wrapper for isatty (see: man isatty). Tests whether a file descriptor refers to a terminal.

Parameters

f

File object. Usually, it is equal to stdout, stderr or stdin.

void clearScreen()

This function clears current terminal screen.

Public imports