Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…i.e. process.stdin.setRawMode())
  • Loading branch information...
commit 6d603ae040c2eb29010e642c9ce94443ccd5a724 1 parent 513bac1
@jfhbrook jfhbrook authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/index.js
View
2  lib/index.js
@@ -164,7 +164,7 @@ exports.open = function(ops) {
stdin = process.openStdin();
stdin.setEncoding('utf8');
- tty.setRawMode(true);
+ process.stdin.setRawMode(true);
Please sign in to comment.
Something went wrong with that request. Please try again.