This commit is contained in:
parent
04cb2d21ae
commit
e3272e8449
3 changed files with 49 additions and 3 deletions
2
index.js
2
index.js
|
|
@ -12,7 +12,7 @@ function Chalk(options) {
|
|||
}
|
||||
|
||||
// use bright blue on Windows as the normal blue color is illegible
|
||||
if (process.platform === 'win32') {
|
||||
if (process.platform === 'win32' && !/^xterm/i.test(process.env.TERM || '')) {
|
||||
ansiStyles.blue.open = '\u001b[94m';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue