IsAnsiCmdEnabled (open)

Returns whether ANSI escape sequences will be generated. Defaults to whether the console is a terminal.

Syntax

LOADLIB "wh::os.whlib";

BOOLEAN FUNCTION IsAnsiCmdEnabled()

Return value

BOOLEAN

TRUE if ANSI escape sequences are enabled.