diff options
Diffstat (limited to 'benchmark/compare.js')
-rw-r--r-- | benchmark/compare.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmark/compare.js b/benchmark/compare.js index edb116d0c6..fb27d626b5 100644 --- a/benchmark/compare.js +++ b/benchmark/compare.js @@ -1,3 +1,4 @@ +'use strict'; var usage = 'node benchmark/compare.js ' + '<node-binary1> <node-binary2> ' + '[--html] [--red|-r] [--green|-g] ' + @@ -38,9 +39,9 @@ for (var i = 2; i < process.argv.length; i++) { if (!html) { var start = ''; - var green = '\033[1;32m'; - var red = '\033[1;31m'; - var reset = '\033[m'; + var green = '\u001b[1;32m'; + var red = '\u001b[1;31m'; + var reset = '\u001b[m'; var end = ''; } else { var start = '<pre style="background-color:#333;color:#eee">'; |