Fable icon indicating copy to clipboard operation
Fable copied to clipboard

Reset Color in CLI

Open goswinr opened this issue 1 year ago • 0 comments

After an error prints in red, the color in the CLI does not get reset: image

(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 ?

goswinr avatar Feb 13 '24 08:02 goswinr