Browse Source

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

v0.9.1-release
Kyle Robinson Young 13 years ago
committed by Ben Noordhuis
parent
commit
e67a0f80e0
  1. 2
      lib/readline.js

2
lib/readline.js

@ -267,7 +267,7 @@ Interface.prototype.resume = function() {
Interface.prototype.write = function(d, key) { Interface.prototype.write = function(d, key) {
if (this.paused) this.resume(); 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) { Interface.prototype._normalWrite = function(b) {

Loading…
Cancel
Save