Args module

set_color_mode

procedureextensionSource

Sets the colour mode for help and error output from now on.

Example↗
Args :: #import "Extensions/Args";

Args.set_color_mode(.NEVER);
assert(!Args.color_enabled(.OUTPUT));
set_color_mode :: (mode: Color_Mode)

Sets the colour mode for help and error output from now on.

Parameters

mode: Color_Mode
the mode to use.
Example↗
Args :: #import "Extensions/Args";

Args.set_color_mode(.NEVER);
assert(!Args.color_enabled(.OUTPUT));

See also