i can't select any item on my terminal using inquirer python

224 views Asked by At

the cursor is not moving and i can just press enter in terminal

i want to create a menu in my terminal and i want to select items by pressing up and down. i used inquirer and console-menu. even when i use this inquirer documentation example of list:

import inquirer
questions = [
            inquirer.List('size',
            message="What size do you need?",
            choices=['Jumbo', 'Large', 'Standard', 'Medium', 'Small', 'Micro'],
              ),
            ]
answers = inquirer.prompt(questions)
print(answers)

output:

enter image description here

when i press enter:

enter image description here

0

There are 0 answers