Switches the text color on standard output, or on standard error with to_standard_error. Everything printed afterwards
has it until reset_console_color. Prefer print_color or with_console_color, which can't forget to reset.
set_console_color(.GREEN);
print("ok\n");
reset_console_color();set_console_color :: (
color: Console_Color,
style: Console_Style = .NORMAL,
to_standard_error := false
)
Parameters
- color: Console_Color
- style: Console_Style = .NORMAL
- to_standard_error := false
set_console_color :: (
color: Console_Color,
style: Console_Style = .NORMAL,
to_standard_error := false
)
Parameters
- color: Console_Color
- style: Console_Style = .NORMAL
- to_standard_error := false