Skip to content

Commit f4e03ea

Browse files
committedJun 27, 2022
Revert "Fix preserving stdin's pause state (#210)"
This reverts commit 77ccc1e.
1 parent 1c24e0f commit f4e03ea

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed
 

‎utilities.js

-10
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,7 @@ export class StdinDiscarder {
7979
return;
8080
}
8181

82-
const {stdin} = process;
83-
const wasPaused = stdin.isPaused();
84-
8582
this.#rl.close();
86-
87-
// Keep stdin unpaused across the readline close if it is already
88-
// unpaused. See #209 for more details.
89-
if (!wasPaused && stdin.isPaused()) {
90-
stdin.resume();
91-
}
92-
9383
this.#rl = undefined;
9484
}
9585
}

0 commit comments

Comments
 (0)
Please sign in to comment.