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
Colors don't reset properly in Powershell.exe #22
Comments
@floyd-may Thanks you very much for putting in the work to discover this. @TooTallNate - can we do something about this? |
that seems to be powershell issue. What I've found as a workaround is to update powershell profile and add [Console]::ResetColor(); to the Prompt function: Ping me if you need more details |
@mvas 👍 |
This is not a solution, that's a workaround. And for the PowerShell only. By the way, I've updated my nodejs to 4.1.2 (it happened I used 0.12 before) and issue has gone. |
I confirm what @mvas says: Looks like this is an issue with running an out-of-date version of nodejs. |
This code has some interesting behavior on powershell:
Now, in ConEmu (my terminal of choice on Windows), this works fine:
However, if I use powershell.exe by itself, the colors don't reset properly:
See how the BG of all the text emitted afterwards is black? I discovered this originally from a bug logged to
npm
.The text was updated successfully, but these errors were encountered: