fn move_cursor_up(&mut self, n: usize) -> io::Result<()> {
        (n > 0)
            .then(|| self.write_str(format!("\x1b[{}A", n)))
            .unwrap_or(Ok(()))
    }
/// Writes a special sequence into this writer moving a cursor up on `n`
/// positions.
///
/// # Errors
///
/// If this writer fails to write a special sequence.
Writes a special sequence into this writer moving a cursor up on `n`
positions.
Writes a special sequence into this writer moving a cursor up on ` n ` positions .
fn move_cursor_up(&mut self, n: usize) -> io::Result<()> {
        (n > 0)
            .then(|| self.write_str(format!("\x1b[{}A", n)))
            .unwrap_or(Ok(()))
    }
fn move_cursor_up ( & mut self , n : usize ) -> io :: Result < ( ) > { ( n > 0 ) . then ( | | self . write_str ( format ! ( " \x1b " n ) ) ) . unwrap_or ( Ok ( ( ) ) ) }
Writes a special sequence into this writer moving a cursor up on `n`
positions.
Writes a special sequence into this writer moving a cursor up on ` n ` positions .
&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 .