fn disable_raw_mode(&self) -> Result<()> {
        check(unsafe { consoleapi::SetConsoleMode(self.conin, self.original_conin_mode) })?;
        if let Some(original_stdstream_mode) = self.original_conout_mode {
            write_all(self.conout, escape::BRACKETED_PASTE_OFF)?;
            debug!(target: "rustyline", "Turned bracketed paste off");
            check(unsafe { consoleapi::SetConsoleMode(self.conout, original_stdstream_mode) })?;
        }
        self.raw_mode.store(false, Ordering::SeqCst);
        Ok(())
    }
/// Disable RAW mode for the terminal.
Disable RAW mode for the terminal.
Disable RAW mode for the terminal .
fn disable_raw_mode(&self) -> Result<()> {
        check(unsafe { consoleapi::SetConsoleMode(self.conin, self.original_conin_mode) })?;
        if let Some(original_stdstream_mode) = self.original_conout_mode {
            write_all(self.conout, escape::BRACKETED_PASTE_OFF)?;
            debug!(target: "rustyline", "Turned bracketed paste off");
            check(unsafe { consoleapi::SetConsoleMode(self.conout, original_stdstream_mode) })?;
        }
        self.raw_mode.store(false, Ordering::SeqCst);
        Ok(())
    }
fn disable_raw_mode ( & self ) -> Result < ( ) > { check ( unsafe { consoleapi :: SetConsoleMode ( self . conin , self . original_conin_mode ) } ) ? ; if let Some ( original_stdstream_mode ) = self . original_conout_mode { write_all ( self . conout , escape :: BRACKETED_PASTE_OFF ) ? ; debug ! ( target " " " " ) ; check ( unsafe { consoleapi :: SetConsoleMode ( self . conout , original_stdstream_mode ) } ) ? ; } self . raw_mode . store ( false , Ordering :: SeqCst ) ; Ok ( ( ) ) }
Disable RAW mode for the terminal.
Disable RAW mode for the terminal .
&self
&self