Replace process.stdout with a custom stream?
--
// alex
// alex
14.10.2012, 22:44, "Volkan Yazıcı" <[email protected]>:
How can I make readline stop writing the read input to the output? That is, when I do--lines = [];
var rl = readline.createInterface(process.stdin, process.stdout);
rl.resume()
rl.on("line", function (line) {
lines.push(line);
});
read lines get written to the output as well. I would like to shut that behaviour down. Any ideas?--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
