Remove the blue color workaround for Windows (#330)
The illegible blue color has been fixed in Windows 10 build 16257: https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/ The workaround causes all kinds of problems, so better to remove it than adding conditionals for older Windows versions. Fixes #329
This commit is contained in:
parent
3ef170b457
commit
2ca015c4c5
2 changed files with 1 additions and 18 deletions
5
index.js
5
index.js
|
|
@ -58,11 +58,6 @@ function Chalk(options) {
|
|||
return chalkFactory(options);
|
||||
}
|
||||
|
||||
// Use bright blue on Windows as the normal blue color is illegible
|
||||
if (isSimpleWindowsTerm) {
|
||||
ansiStyles.blue.open = '\u001B[94m';
|
||||
}
|
||||
|
||||
for (const [styleName, style] of Object.entries(ansiStyles)) {
|
||||
style.closeRe = new RegExp(escapeStringRegexp(style.close), 'g');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue