async fn init_run(
        &mut self,
        term: &mut Terminal,
    ) -> Result<(), ServicesOff> {
        let mut session = term.lock_now().await?;
        self.selected = InputDialogItem::Ok;
        self.buffer = self.dialog.buffer.chars().collect::<Vec<_>>();
        self.cursor = 0;
        self.update_actual_max(session.screen().size());
        self.render(session.screen());
        Ok(())
    }
/// Initializes a run over this selector.
Initializes a run over this selector.
Initializes a run over this selector .
async fn init_run(
        &mut self,
        term: &mut Terminal,
    ) -> Result<(), ServicesOff> {
        let mut session = term.lock_now().await?;
        self.selected = InputDialogItem::Ok;
        self.buffer = self.dialog.buffer.chars().collect::<Vec<_>>();
        self.cursor = 0;
        self.update_actual_max(session.screen().size());
        self.render(session.screen());
        Ok(())
    }
async fn init_run ( & mut self , term : & mut Terminal , ) -> Result < ( ) , ServicesOff > { let mut session = term . lock_now ( ) . await ? ; self . selected = InputDialogItem :: Ok ; self . buffer = self . dialog . buffer . chars ( ) . collect :: < Vec < _ > > ( ) ; self . cursor = 0 ; self . update_actual_max ( session . screen ( ) . size ( ) ) ; self . render ( session . screen ( ) ) ; Ok ( ( ) ) }
Initializes a run over this selector.
Initializes a run over this selector .
&mut self
term
&mut Terminal
&mut self
term
&mut Terminal