Fable
Fable copied to clipboard
Reset Color in CLI
After an error prints in red, the color in the CLI does not get reset:
(This is PowerShell in VS code on Win 11)
Is the ResetColor method picking up the error color as previous color?
Maybe ResetColor()
should just call
textWriter.Write("\x1B[39m\x1B[22m") // default foreground color
instead ?