fn new_line(&mut self) {
        self.column_position = 0;
        if self.row_position == BUFFER_HEIGHT - 1 {
            self.shift_buffer();
            return;
        }

        self.row_position += 1;
    }
/// Sets the buffer row to the next line, shifting the buffer up if it is at the end.
Sets the buffer row to the next line, shifting the buffer up if it is at the end.
Sets the buffer row to the next line shifting the buffer up if it is at the end .
fn new_line(&mut self) {
        self.column_position = 0;
        if self.row_position == BUFFER_HEIGHT - 1 {
            self.shift_buffer();
            return;
        }
        self.row_position += 1;
    }
fn new_line ( & mut self ) { self . column_position = 0 ; if self . row_position == BUFFER_HEIGHT - 1 { self . shift_buffer ( ) ; return ; } self . row_position += 1 ; }
Sets the buffer row to the next line, shifting the buffer up if it is at the end.
Sets the buffer row to the next line shifting the buffer up if it is at the end .
&mut self
&mut self