fn clear_screen(&mut self) {
        (0..BUFFER_HEIGHT).into_iter().for_each(|row| {
            (0..BUFFER_WIDTH).into_iter().for_each(|col| {
                let char = Char::blank(self.color_code);
                self.put_char_at(char, row, col);
            })
        });

        self.column_position = 0;
        self.row_position = 0;
    }
/// Fills the buffer with blank characters.
Fills the buffer with blank characters.
Fills the buffer with blank characters .
fn clear_screen(&mut self) {
        (0..BUFFER_HEIGHT).into_iter().for_each(|row| {
            (0..BUFFER_WIDTH).into_iter().for_each(|col| {
                let char = Char::blank(self.color_code);
                self.put_char_at(char, row, col);
            })
        });
        self.column_position = 0;
        self.row_position = 0;
    }
fn clear_screen ( & mut self ) { ( 0 .. BUFFER_HEIGHT ) . into_iter ( ) . for_each ( | row | { ( 0 .. BUFFER_WIDTH ) . into_iter ( ) . for_each ( | col | { let char = Char :: blank ( self . color_code ) ; self . put_char_at ( char , row , col ) ; } ) } ) ; self . column_position = 0 ; self . row_position = 0 ; }
Fills the buffer with blank characters.
Fills the buffer with blank characters .
&mut self
&mut self