pub async fn drive<B: Backend>(
terminal: &mut Terminal<B>,
events: &mut (impl Stream<Item = Result<Event>> + Unpin),
generator: &dyn Generator,
view: &mut GenerateView,
color: bool,
) -> Result<u8>Expand description
Runs the form loop; each submission drives generator while streaming progress.