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": [