From b22018191dab011fdfe9d1fc678298a128350f85 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 24 Jun 2018 03:01:06 -0600 Subject: [PATCH] workaround dev/tty bugs - tell user to hit any key --- bin/telebit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/telebit.js b/bin/telebit.js index 3341364..b17aa70 100755 --- a/bin/telebit.js +++ b/bin/telebit.js @@ -478,6 +478,9 @@ function parseConfig(err, text) { // workaround for https://github.com/nodejs/node/issues/21319 if (answers._useTty) { + console.log(); + console.log("Press any key to continue..."); + console.log(); setTimeout(function () { process.exit(0); }, 2 * 1000);