From 3e9620ee90a7aaab727445813d6dbcebffb37592 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 24 Jun 2018 01:19:31 -0600 Subject: [PATCH] end std input from tty --- bin/telebit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/telebit.js b/bin/telebit.js index ded1805..2a6ed9c 100755 --- a/bin/telebit.js +++ b/bin/telebit.js @@ -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; }