Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rawlist I can't up or down with arrow keys in keyboard #199

Closed
enzolutions opened this issue Dec 21, 2014 · 3 comments
Closed

Rawlist I can't up or down with arrow keys in keyboard #199

enzolutions opened this issue Dec 21, 2014 · 3 comments

Comments

@enzolutions
Copy link

I'm did a rawlist prompt and everything works perfectly, except navigate among options using keyboard arrows I use the following code with 0.8.0 version

var prompts = [
    {
      type: 'rawlist',
      name: 'settingsOptions',
      message: 'What setting do you want to update?',
      choices: [
        'App Directory',
        'Bower Directory',
        'Templates Directory',
        'Models Directory',
        'Collections Directory',
        'Views Directory',
        'Forms Directory',
        'Actions Directory',
        'Test Directory',
        new inquirer.Separator(),
        'Drupal Backend URL',
        'Drupal Backend Port',
        'Drupal CORS',
        'Drupal Backend User',
        'Drupal Backend Pass'
      ]
    }
 ];

this.prompt(prompts, function (props) {
}
@SBoudrias
Copy link
Owner

Use list type to navigate with arrows. rawlist only allow entering the index of the line.

@paglias
Copy link

paglias commented Feb 6, 2016

@SBoudrias the prompt still says to use the keys to move up and down in a raw list

@SBoudrias
Copy link
Owner

@paglias open a new bug report then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants