pub fn move_cursor_right(&mut self, mut count: usize) -> io::Result<()> {
        {
            let buf = cur_buf!(self);

            if count > buf.num_chars() - self.cursor {
                count = buf.num_chars() - self.cursor;
            }

            self.cursor += count;
        }

        self.no_newline = true;
        self.display()
    }
/// Moves the cursor to the right by `count` characters.
/// The cursor will not go past the end of the buffer.
Moves the cursor to the right by `count` characters.
The cursor will not go past the end of the buffer.
Moves the cursor to the right by ` count ` characters . The cursor will not go past the end of the buffer .
pub fn move_cursor_right(&mut self, mut count: usize) -> io::Result<()> {
        {
            let buf = cur_buf!(self);
            if count > buf.num_chars() - self.cursor {
                count = buf.num_chars() - self.cursor;
            }
            self.cursor += count;
        }
        self.no_newline = true;
        self.display()
    }
pub fn move_cursor_right ( & mut self , mut count : usize ) -> io :: Result < ( ) > { { let buf = cur_buf ! ( self ) ; if count > buf . num_chars ( ) - self . cursor { count = buf . num_chars ( ) - self . cursor ; } self . cursor += count ; } self . no_newline = true ; self . display ( ) }
Moves the cursor to the right by `count` characters.
Moves the cursor to the right by ` count ` characters .
&mut self
count
usize
&mut self
count
usize