-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Labels
BugSomething isn't workingSomething isn't working
Description
questionary/questionary/prompts/common.py
Lines 380 to 389 in ac887f0
| if isinstance(choice.title, list): | |
| tokens.extend(choice.title) | |
| elif selected: | |
| tokens.append( | |
| ("class:selected", "{}{}".format(shortcut, choice.title)) | |
| ) | |
| elif index == self.pointed_at: | |
| tokens.append( | |
| ("class:highlighted", "{}{}".format(shortcut, choice.title)) | |
| ) |
maybe merge class:highlighted to every item better.
example:
title = [ ("class:a", "user"), ("class:b", "age") ]
after merge:
title = [ ("class:a class:highlighted", "user"), ("class:b class:highlighted", "age") ]
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working