Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset Color in CLI #3755

Open
goswinr opened this issue Feb 13, 2024 · 0 comments
Open

Reset Color in CLI #3755

goswinr opened this issue Feb 13, 2024 · 0 comments

Comments

@goswinr
Copy link
Contributor

goswinr commented Feb 13, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant