2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-03-03 07:00:45 +00:00

end std input from tty

This commit is contained in:
AJ ONeal 2018-06-24 01:19:31 -06:00
parent b2288e27c0
commit 3e9620ee90

View File

@ -320,7 +320,7 @@ function askForConfig(answers, mainCb) {
if (!q) {
// https://github.com/nodejs/node/issues/21319
rl.close();
if (useTty) { stdin.close(); }
if (useTty) { stdin.push(null); /*stdin.close();*/ }
mainCb(null, answers);
return;
}