tty, readline: fix style errors

This commit is contained in:
Ben Noordhuis 2012-03-29 01:27:57 +02:00
parent 973bbecf1a
commit b031671138
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -104,7 +104,7 @@ WriteStream.prototype._refreshSize = function() {
this.rows = newRows;
this.emit('resize');
}
}
};
// backwards-compat