Permalink
Browse files

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

…i.e. process.stdin.setRawMode())
  • Loading branch information...
jfhbrook committed Jul 7, 2012
1 parent da626b5 commit 9d1999225146dd927a5803f348c241e24cd9a127
Showing with 1 addition and 1 deletion.
  1. +1 −1 cdir.js
View
@@ -649,7 +649,7 @@ module.exports = function dir (obj, options) {
};
function raw (mode) {
- var setRawMode = stdin.setRawMode || tty.setRawMode;
+ var setRawMode = stdin.setRawMode || process.stdin.setRawMode;
setRawMode.call(stdin, mode);
}

0 comments on commit 9d19992

Please sign in to comment.