pub async fn select_with_initial(
        &self,
        term: &mut Terminal,
        initial: usize,
    ) -> Result<usize, ServicesOff> {
        let mut selector = Selector::without_cancel(self, initial);
        selector.run(term).await?;
        Ok(selector.result())
    }
/// Asks for the user to select an item of the menu without cancel option,
/// but with a given initial chosen option.
Asks for the user to select an item of the menu without cancel option,
but with a given initial chosen option.
Asks for the user to select an item of the menu without cancel option but with a given initial chosen option .
pub async fn select_with_initial(
        &self,
        term: &mut Terminal,
        initial: usize,
    ) -> Result<usize, ServicesOff> {
        let mut selector = Selector::without_cancel(self, initial);
        selector.run(term).await?;
        Ok(selector.result())
    }
pub async fn select_with_initial ( & self , term : & mut Terminal , initial : usize , ) -> Result < usize , ServicesOff > { let mut selector = Selector :: without_cancel ( self , initial ) ; selector . run ( term ) . await ? ; Ok ( selector . result ( ) ) }
Asks for the user to select an item of the menu without cancel option,
but with a given initial chosen option.
Asks for the user to select an item of the menu without cancel option but with a given initial chosen option .
&self
term
&mut Terminal
initial
usize
&self
term
&mut Terminal
initial
usize