Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
tty, readline: fix style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Mar 28, 2012
1 parent 973bbec commit b031671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/readline.js
Expand Up @@ -287,9 +287,9 @@ Interface.prototype._insertString = function(c) {
this.cursor += c.length;

if (this._getCursorPos().cols === 0) {
this._refreshLine();
this._refreshLine();
} else {
this.output.write(c);
this.output.write(c);
}

// a hack to get the line refreshed if it's needed
Expand Down
2 changes: 1 addition & 1 deletion lib/tty.js
Expand Up @@ -104,7 +104,7 @@ WriteStream.prototype._refreshSize = function() {
this.rows = newRows;
this.emit('resize');
}
}
};


// backwards-compat
Expand Down

0 comments on commit b031671

Please sign in to comment.