pub fn move_cursor_to_end_of_line(&mut self) -> io::Result<()> {
        //self.clear_search();
        self.cursor = cur_buf!(self).num_chars();
        self.no_newline = true;
        self.display()
    }
/// Moves the cursor to the end of the line.
Moves the cursor to the end of the line.
Moves the cursor to the end of the line .
pub fn move_cursor_to_end_of_line(&mut self) -> io::Result<()> {
        //self.clear_search();
        self.cursor = cur_buf!(self).num_chars();
        self.no_newline = true;
        self.display()
    }
pub fn move_cursor_to_end_of_line ( & mut self ) -> io :: Result < ( ) > { //self.clear_search(); self . cursor = cur_buf ! ( self ) . num_chars ( ) ; self . no_newline = true ; self . display ( ) }
Moves the cursor to the end of the line.
Moves the cursor to the end of the line .
&mut self
&mut self