node_modules/inquirer/lib/prompts/list.js
/**
   * When user press `enter` key
   */
When user press `enter` key
When user press ` enter ` key
onSubmit(value) {
    this.status = 'answered';
    this.render();
    this.screen.done();
    cliCursor.show();
    this.done(value);
  }
onSubmit ( value ) { this . status = 'answered' ; this . render ( ) ; this . screen . done ( ) ; cliCursor . show ( ) ; this . done ( value ) ; }
When user press `enter` key
When user press ` enter ` key
// Rerender prompt