We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f63449 commit 8cee8f5Copy full SHA for 8cee8f5
src/node.js
@@ -699,7 +699,7 @@
699
// not-reading state.
700
if (stdin._handle && stdin._handle.readStop) {
701
stdin._handle.reading = false;
702
- stdin._readableState.reading = false;
+ stdin.push('');
703
stdin._handle.readStop();
704
}
705
@@ -708,7 +708,7 @@
708
stdin.on('pause', function() {
709
if (!stdin._handle)
710
return;
711
712
713
714
});
0 commit comments