Skip to content

Commit

Permalink
add spaceKeyPressed (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyZhouYicheng authored and SBoudrias committed Aug 17, 2019
1 parent 54285c7 commit 32ebe51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inquirer/lib/prompts/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class CheckboxPrompt extends Base {

onEnd(state) {
this.status = 'answered';

this.spaceKeyPressed = true;
// Rerender prompt (and clean subline error)
this.render();

Expand Down

0 comments on commit 32ebe51

Please sign in to comment.