Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
readline: _normalWrite() doesn't take a key modifier arg
Browse files Browse the repository at this point in the history
  • Loading branch information
shama authored and bnoordhuis committed Apr 18, 2012
1 parent 57148f5 commit e67a0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/readline.js
Expand Up @@ -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) {
Expand Down

0 comments on commit e67a0f8

Please sign in to comment.