Skip to content

Commit

Permalink
[fix] tty.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (…
Browse files Browse the repository at this point in the history
…i.e. process.stdin.setRawMode())
  • Loading branch information
blakmatrix committed Jul 7, 2012
1 parent b8ad1bd commit bb37094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -94,5 +94,5 @@ PkgInit.prototype.edit = function (name, opts, cb) {

var tty = require('tty');
function setRaw (mode) {
(process.stdin.setRawMode || tty.setRawMode)(mode);
(process.stdin.setRawMode || process.stdin.setRawMode)(mode);
}

0 comments on commit bb37094

Please sign in to comment.