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 513bac1 commit 6d603ae040c2eb29010e642c9ce94443ccd5a724
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/index.js
View
@@ -164,7 +164,7 @@ exports.open = function(ops) {
stdin = process.openStdin();
stdin.setEncoding('utf8');
- tty.setRawMode(true);
+ process.stdin.setRawMode(true);

0 comments on commit 6d603ae

Please sign in to comment.