readline: _normalWrite() doesn't take a key modifier arg

This commit is contained in:
Kyle Robinson Young 2012-04-18 14:23:20 -07:00 committed by Ben Noordhuis
parent 57148f54e1
commit e67a0f80e0

View File

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