The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-stdin-pause-resume.js @ 6f043940

History | View | Annotate | Download (1.53 KB)

# Date Author Comment
48650639 01/17/2012 01:45 PM Andreas Madsen

Tests: fix jslint issues

cf20b6bf 12/05/2011 07:47 PM isaacs

Fix #2257 pause/resume semantics for stdin

This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()

The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6...