finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
252 bytes
|
| Line | |
|---|
| 1 | module.exports = function (blocking) {
|
|---|
| 2 | [process.stdout, process.stderr].forEach(function (stream) {
|
|---|
| 3 | if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
|
|---|
| 4 | stream._handle.setBlocking(blocking)
|
|---|
| 5 | }
|
|---|
| 6 | })
|
|---|
| 7 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.