Whether output to stream should be coloured, by the colour mode and then the environment.
Args :: #import "Extensions/Args";
Args.set_color_mode(.ALWAYS);
assert(Args.color_enabled(.ERROR));
Args.set_color_mode(.AUTO);- stream: the stream the output goes to.
color_enabled :: (stream: Stream) -> bool
Whether output to stream should be coloured, by the colour mode and then the environment.
Parameters
- stream: Stream
- the stream the output goes to.
Returns
- bool
Args :: #import "Extensions/Args";
Args.set_color_mode(.ALWAYS);
assert(Args.color_enabled(.ERROR));
Args.set_color_mode(.AUTO);