diff --git a/lib/readline.js b/lib/readline.js index d69aeb4a88..615bd35840 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -267,7 +267,7 @@ Interface.prototype.resume = function() { Interface.prototype.write = function(d, key) { if (this.paused) this.resume(); - this.terminal ? this._ttyWrite(d, key) : this._normalWrite(d, key); + this.terminal ? this._ttyWrite(d, key) : this._normalWrite(d); }; Interface.prototype._normalWrite = function(b) {