Skip to content

Commit

Permalink
Merge pull request #12 from ysangkok/patch-1
Browse files Browse the repository at this point in the history
Use escape byte encoded in hex and not in octal
  • Loading branch information
nathanpeck authored Dec 14, 2016
2 parents a0598f6 + e84a8e3 commit e14d5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var lengths = [10, 20, 30, 40, 50];
console.log('\nCtrl/Command + C to quit...\n\n\n\n\n\n\n\n\n');

function drawProgress () {
process.stdout.write('\033[9A');
process.stdout.write('\x1b[9A');
var blankLine = new Line().fill().output();

var headers = new Line()
Expand Down

0 comments on commit e14d5a7

Please sign in to comment.