Permalink
Browse files

[fix] tty.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (…

…i.e. process.stdin.setRawMode())
  • Loading branch information...
1 parent 786ccdb commit 50ca05dfd5412a4dcb0d938f8e56e1533c5bbd8f @blakmatrix blakmatrix committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/config.js
View
2 lib/config.js
@@ -4,7 +4,7 @@ var mkdirp = require('mkdirp');
var tty = require('tty');
function echo (mode) {
- tty.setRawMode(!mode);
+ process.stdin.setRawMode(!mode);
}
module.exports = function (cb) {

0 comments on commit 50ca05d

Please sign in to comment.