mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-03-03 07:00:45 +00:00
workaround dev/tty bugs - tell user to hit any key
This commit is contained in:
parent
68ed91a5c9
commit
b22018191d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user