Print_Color module

push_console_color

procedureSource

Shows color on a standard stream and remembers what was there. Every push needs a pop; they nest, and each pop restores the enclosing color. A stream that is not a console is not touched, but the push still counts so the pops stay balanced.

push_console_color :: (
    color: Console_Color,
    style: Console_Style = .NORMAL,
    to_standard_error := false
)

Parameters

style: Console_Style = .NORMAL
to_standard_error := false

See also