Skip to content

Fuzzy

A select widget that allows a single selection from a list of choices with fuzzy filtering.

Example

Example

from inquirer_textual import prompts

if __name__ == '__main__':
    result = prompts.fuzzy('Select element:', ['Hydrogen', 'Helium', 'Lithium', 'Beryllium', 'Boron',
                                               'Carbon'])
    print(result)