@ -287,9 +287,9 @@ Interface.prototype._insertString = function(c) {
this.cursor += c.length;
if (this._getCursorPos().cols === 0) {
this._refreshLine();
} else {
this.output.write(c);
}
// a hack to get the line refreshed if it's needed
@ -104,7 +104,7 @@ WriteStream.prototype._refreshSize = function() {
this.rows = newRows;
this.emit('resize');
};
// backwards-compat