fn clear_screen(&mut self) -> Result<()> {
        let info = self.get_console_screen_buffer_info()?;
        let coord = COORD { X: 0, Y: 0 };
        check(unsafe { wincon::SetConsoleCursorPosition(self.conout, coord) })?;
        let n = info.dwSize.X as DWORD * info.dwSize.Y as DWORD;
        self.clear(n, coord, info.wAttributes)
    }
/// Clear the screen. Used to handle ctrl+l
Clear the screen. Used to handle ctrl+l
Clear the screen . Used to handle ctrl + l
fn clear_screen(&mut self) -> Result<()> {
        let info = self.get_console_screen_buffer_info()?;
        let coord = COORD { X: 0, Y: 0 };
        check(unsafe { wincon::SetConsoleCursorPosition(self.conout, coord) })?;
        let n = info.dwSize.X as DWORD * info.dwSize.Y as DWORD;
        self.clear(n, coord, info.wAttributes)
    }
fn clear_screen ( & mut self ) -> Result < ( ) > { let info = self . get_console_screen_buffer_info ( ) ? ; let coord = COORD { X : 0 , Y : 0 } ; check ( unsafe { wincon :: SetConsoleCursorPosition ( self . conout , coord ) } ) ? ; let n = info . dwSize . X as DWORD * info . dwSize . Y as DWORD ; self . clear ( n , coord , info . wAttributes ) }
Clear the screen.
Clear the screen .
&mut self
&mut self