tmbo/questionary

Need Help in SELECTING Option

MarkFlyer opened this issue · 2 comments

Question

Hey, is it possible for me to create a styled select option with a background color so that when the pointer moves up and down, the background moves along with the arror in the options?

What have you already tried?

I tried to make a code but i faild

Read the documentation

  • I have checked to ensure that my question is not answered by the documentation.

Like this:

from questionary import Style
import questionary

my_style = Style([
    ("highlighted", "fg:#FF9D00 reverse")
])

option = None
for __ in range(3):
    option = questionary.select("Title:", ["One", "Two", "Three"], default=option, style=my_style).ask()

2023-11-23-3410

Thank you so MUCH