binaryninja.interaction.ChoiceField

class binaryninja.interaction.ChoiceField(prompt, choices)[source]

ChoiceField prompts the user to choose from the list of strings provided in choices. Result is stored in self.result as an index in to the coices array.

__init__(prompt, choices)[source]

Methods

__init__(prompt, choices)