pub fn should_enter_safe_mode(&mut self) {
        let confirm_prompt = Confirm::new()
            .with_prompt("Should enter safe mode?")
            .show_default(true)
            .default(false)
            .interact()
            .with_context(|e| {
                error!("Failed to setup confirmation prompt!");
                trace!("Terminal unable to set up confirmation prompt...");
                format!("{}", e)
            })
            .unwrap();
        if confirm_prompt {
            self.request_sender.update_to_safe();
        }
    }
/// Gets input and checks if the user wants to enter safe mode.
/// If they do, the `RequestSender` will update the request urls for future sent requests.
Gets input and checks if the user wants to enter safe mode.
If they do, the `RequestSender` will update the request urls for future sent requests.
Gets input and checks if the user wants to enter safe mode . If they do the ` RequestSender ` will update the request urls for future sent requests .
pub fn should_enter_safe_mode(&mut self) {
        let confirm_prompt = Confirm::new()
            .with_prompt("Should enter safe mode?")
            .show_default(true)
            .default(false)
            .interact()
            .with_context(|e| {
                error!("Failed to setup confirmation prompt!");
                trace!("Terminal unable to set up confirmation prompt...");
                format!("{}", e)
            })
            .unwrap();
        if confirm_prompt {
            self.request_sender.update_to_safe();
        }
    }
pub fn should_enter_safe_mode ( & mut self ) { let confirm_prompt = Confirm :: new ( ) . with_prompt ( " " ) . show_default ( true ) . default ( false ) . interact ( ) . with_context ( | e | { error ! ( " " ) ; trace ! ( " " ) ; format ! ( " " e ) } ) . unwrap ( ) ; if confirm_prompt { self . request_sender . update_to_safe ( ) ; } }
Gets input and checks if the user wants to enter safe mode.
Gets input and checks if the user wants to enter safe mode .
&mut self
&mut self