Skip to content

Commit

Permalink
Merge pull request #7 from ahdinosaur/master
Browse files Browse the repository at this point in the history
replace process.stdin.resume() with .read() to work with node v0.10 streams
  • Loading branch information
paulbjensen committed Nov 8, 2014
2 parents 721e58a + 5f16fef commit 852d783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.js
Expand Up @@ -21,7 +21,7 @@ module.exports = function(host, port) {
sock.pipe(process.stdout);

sock.on('connect', function () {
process.stdin.resume();
process.stdin.read();
process.stdin.setRawMode(true);
});

Expand Down

0 comments on commit 852d783

Please sign in to comment.