Fix terminal colors by reset console colors explicitly#1184
Fix terminal colors by reset console colors explicitly#1184ndelangen merged 1 commit intostorybookjs:masterfrom rossipedia:patch-1
Conversation
Due to a bug in how Windows handles escape codes, the console output disappears after the version number (chalk/chalk#145 and microsoft/WSL#2174). Resetting the output explicitly fixes storybook output on Windows.
Codecov Report
@@ Coverage Diff @@
## master #1184 +/- ##
=======================================
Coverage 13.31% 13.31%
=======================================
Files 199 199
Lines 4588 4588
Branches 724 724
=======================================
Hits 611 611
Misses 3349 3349
Partials 628 628
Continue to review full report at Codecov.
|
|
Hey, thanks for this! |
|
@ndelangen @rossipedia There are many other places we're using |
|
AFAIK, only specifically where |
|
@rossipedia thanks for the clarification. Much appreciated! |
Due to a bug in how Windows handles escape codes, the console output disappears after the version number (chalk/chalk#145 and microsoft/WSL#2174). Resetting the output explicitly fixes storybook output on Windows.
If I highlight my console output, you can see the text is still being output, but the colors are broken: