Console Color not reset?
See original GitHub issueFrom time to time I see https://github.com/fsharp/FAKE/issues/1858 in my shell. And somehow I feel like expecto is to blame here.
Regarding
Is it possible that multiple LiterateConsoleTarget
instances exist for example? Or that the execution is cancelled because another test has failed and it doesn’t reset the color in that scenario? Is there anything that comes to mind?
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Console.ResetColor is not resetting the line after completely
I want to write one line in another background and foreground color. The straightforward solution changes the background for the space at the ......
Read more >Console.ResetColor Method (System)
Sets the foreground and background console colors to their defaults. ... Finally, it calls the ResetColor method to restore the original console colors....
Read more >bash - Colored terminal output ignores reset sequence. ...
1 Answer 1 · This does seem to work nicely when I replace \e with \33 . Such a relief! · Many terminals...
Read more >Console font color is changed and not reset on Windows ...
When I run yarn init, font color on PowerShell is changed to yellow. Even after completion of yarn process, font color isn't reset....
Read more >How do I reset the colors of my terminal? - command line
To reset the terminal colors, use the following command: ... If an entry does not contain the information needed for any of the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is what the output looks like in Logary proper; we have a different way of handling data there. I think we should have a design session around how to handle modern terminals and how to deal with structured output (and not just structured logging/data of messages).
Also, we should move to ANSI escape sequences, opted out automatically for terminals it’s known not to work with.
Here’s the PR for the new Facade https://github.com/logary/logary/pull/335
resolved with #258