Skip to content

Commit

Permalink
Add pause to fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchatfield committed Jul 28, 2013
1 parent 62251f2 commit c457ecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/inquirer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c457ecd

Please sign in to comment.