Skip to content

Using 'list' as the first input to a prompt fails #266

@LPGhatguy

Description

@LPGhatguy

Using Inquirer.js 0.9.0 and io.js 2.5.0 or Node 0.12.7 on Windows 10:

var inquirer = require("inquirer");

inquirer.prompt([
    {
        type: "list",
        name: "exampleInput",
        message: "Does this work for you?",
        choices: [
            "Yes",
            "No",
            "I can't tell!"
        ]
    }
], function(answers) {
    console.log("Done!");
});

The arrow keys won't move the menu, allowing selection of only the first choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions