Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit dd92579

Browse files
author
Lucas Rojas
committed
Clean comments from progress.js
1 parent 41e4c18 commit dd92579

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/progress.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,8 @@ function ProgressIndicator (message, options, updateFrequency, stream) {
6464

6565
self.update = function update () {
6666
if (cursor) {
67-
// savePosition & restorePosition do not seem to work in Mac OS X
68-
// replaced with horizontalAbsolute
69-
cursor //.savePosition()
67+
cursor
7068
.write(message + render(index))
71-
// .restorePosition()
7269
.horizontalAbsolute(0)
7370
.reset();
7471
}

0 commit comments

Comments
 (0)