Runs code with the console set to color, and resets it afterwards.
with_console_color(.RED, #code print("warning\n"), .BOLD);with_console_color :: (
color: Console_Color,
code: Code,
style: Console_Style = .NORMAL,
to_standard_error := false
)
Parameters
- color: Console_Color
- code: Code
- style: Console_Style = .NORMAL
- to_standard_error := false