fn clear_last_lines(&mut self, n: usize) -> io::Result<()> {
        self.move_cursor_up(n)?;
        for _ in 0..n {
            self.clear_line()?;
            self.move_cursor_down(1)?;
        }
        self.move_cursor_up(n)
    }
/// Writes a special sequence into this writer clearing the last `n` lines.
///
/// # Errors
///
/// If this writer fails to write a special sequence.
Writes a special sequence into this writer clearing the last `n` lines.
Writes a special sequence into this writer clearing the last ` n ` lines .
fn clear_last_lines(&mut self, n: usize) -> io::Result<()> {
        self.move_cursor_up(n)?;
        for _ in 0..n {
            self.clear_line()?;
            self.move_cursor_down(1)?;
        }
        self.move_cursor_up(n)
    }
fn clear_last_lines ( & mut self , n : usize ) -> io :: Result < ( ) > { self . move_cursor_up ( n ) ? ; for _ in 0 .. n { self . clear_line ( ) ? ; self . move_cursor_down ( 1 ) ? ; } self . move_cursor_up ( n ) }
Writes a special sequence into this writer clearing the last `n` lines.
Writes a special sequence into this writer clearing the last ` n ` lines .
&mut self
n
usize
&mut self
n
usize
errors
If this writer fails to write a special sequence.
If this writer fails to write a special sequence .