TTY

class TTY(*args, **kwargs)

Console utilities.

No constructor, only static methods are available.

Methods

ColoredOutput()

Accessor to the color flag.

ShowColors(flag)

Accessor to the color flag.

__init__(*args, **kwargs)
static ColoredOutput()

Accessor to the color flag.

Returns:
flagbool

Whether colored output is enabled or disabled.

static ShowColors(flag)

Accessor to the color flag.

Parameters:
flagbool

Enable or disable colored output.