From c457ecd377365bcf7fee152777581e99877737af Mon Sep 17 00:00:00 2001 From: Daniel Chatfield Date: Sun, 28 Jul 2013 18:19:51 +0100 Subject: [PATCH] Add pause to fix #49 --- lib/inquirer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/inquirer.js b/lib/inquirer.js index e9a543870..b058ed031 100644 --- a/lib/inquirer.js +++ b/lib/inquirer.js @@ -70,6 +70,7 @@ cli.prompt = function( questions, allDone ) { process.stdin.removeListener( "keypress", this.onKeypress ); // Close the readline + this.rl.pause(); this.rl.close(); this.rl = null;