Show color on a standard stream, remembering what was there. Every push needs a pop; the
colors nest and each pop restores the enclosing one. 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
)
Show color on a standard stream, remembering what was there. Every push needs a pop; the
colors nest and each pop restores the enclosing one. A stream that is not a console is not
touched, but the push still counts so the pops stay balanced.
Parameters
- color: Console_Color
- style: Console_Style
- to_standard_error := false