fn begin(&mut self) {
        terminal::enable_raw_mode().unwrap();
        execute!(
            self.stdout,
            terminal::Clear(ClearType::All),
            terminal::EnterAlternateScreen,
            crossterm::cursor::Hide,
            crossterm::cursor::MoveTo(0, 0),
            crossterm::event::EnableMouseCapture
        )
        .unwrap();
    }
/// Initializes the internal components such as hiding the cursor
Initializes the internal components such as hiding the cursor
Initializes the internal components such as hiding the cursor
fn begin(&mut self) {
        terminal::enable_raw_mode().unwrap();
        execute!(
            self.stdout,
            terminal::Clear(ClearType::All),
            terminal::EnterAlternateScreen,
            crossterm::cursor::Hide,
            crossterm::cursor::MoveTo(0, 0),
            crossterm::event::EnableMouseCapture
        )
        .unwrap();
    }
fn begin ( & mut self ) { terminal :: enable_raw_mode ( ) . unwrap ( ) ; execute ! ( self stdout terminal Clear ( ClearType All ) terminal EnterAlternateScreen crossterm cursor Hide crossterm cursor MoveTo ( 0 0 ) crossterm event EnableMouseCapture ) . unwrap ( ) ; }
Initializes the internal components such as hiding the cursor
Initializes the internal components such as hiding the cursor
&mut self
&mut self