initColors

It will detect whether or not stdout/stderr are a console/TTY and will consequently disable colored output if needed.

Forgetting to call the function will result in ASCII escape sequences in the piped output, probably an undesiderable thing.

@trusted
void
initColors
(
bool forceOn = false
)

Meta