diff --git a/lib/debug.js b/lib/debug.js index 4952110d..0b07aa1d 100644 --- a/lib/debug.js +++ b/lib/debug.js @@ -112,10 +112,10 @@ function debug(name) { var ms = curr - (prev[name] || curr); prev[name] = curr; - fmt = ' \033[9' + c + 'm' + name + ' ' - + '\033[3' + c + 'm\033[90m' - + fmt + '\033[3' + c + 'm' - + ' +' + humanize(ms) + '\033[0m'; + fmt = ' \u001b[9' + c + 'm' + name + ' ' + + '\u001b[3' + c + 'm\u001b[90m' + + fmt + '\u001b[3' + c + 'm' + + ' +' + humanize(ms) + '\u001b[0m'; console.error.apply(this, arguments); }