From 4b22e7675eb644a428efe6bb394665f2d7b6b7bf Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 11 Jul 2018 18:11:37 -0600 Subject: [PATCH] v0.19.24: bugfix windows https://github.com/nodejs/node/issues/21771 --- bin/telebit.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/telebit.js b/bin/telebit.js index e61ca1b..0606660 100755 --- a/bin/telebit.js +++ b/bin/telebit.js @@ -100,8 +100,9 @@ function askForConfig(state, mainCb) { var rl = readline.createInterface({ input: stdin , output: process.stdout + // https://github.com/nodejs/node/issues/21771 // https://github.com/nodejs/node/issues/21319 - , terminal: !useTty + , terminal: !/^win/i.test(os.platform()) && !useTty }); state._useTty = useTty; diff --git a/package.json b/package.json index acf00a4..15d4bdd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telebit", - "version": "0.19.23", + "version": "0.19.24", "description": "Break out of localhost. Connect to any device from anywhere over any tcp port or securely in a browser. A secure tunnel. A poor man's reverse VPN.", "main": "lib/remote.js", "files": [