pub fn prompt_user<T>(control: impl InquireControl<T>) -> Option<T>Expand description
Prompts the user for some sort of input. Takes any function that
implements the InquireControl trait and returns the output
from the user. If None is returned it is assumed the user
un-forcefully cancelled the action, e.g. pressed ESC.