Skip to content

Checkbox does not work when using Windows #156

@saroad2

Description

@saroad2

Description

When trying to use a Checkbox question, one cannot move the cursor up and down to select the boxes to check.

Example

Consider the following program:

import inquirer

questions = [
    inquirer.Checkbox(
        "food",
        "What do you like to eat?",
        choices=["banana", "apple", "ice-creem"]
    )
]
answers = inquirer.prompt(questions)
print(answers)

Reproduction steps are:

  1. Copy the code above
  2. Run it on Windows computer in Power Shell
  3. Check the banana option (that works)
  4. Press the down arrow to move to the second option (that doesn't work)

Additional Information

Windows 10
Python version: 3.9.5
Inquirer version: 2.9.1

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