pub fn delete_all_before_cursor(&mut self) -> io::Result<()> {
        cur_buf_mut!(self).remove(0, self.cursor);
        self.cursor = 0;
        self.no_newline = true;
        self.display()
    }
/// Deletes every character preceding the cursor until the beginning of the line.
Deletes every character preceding the cursor until the beginning of the line.
Deletes every character preceding the cursor until the beginning of the line .
pub fn delete_all_before_cursor(&mut self) -> io::Result<()> {
        cur_buf_mut!(self).remove(0, self.cursor);
        self.cursor = 0;
        self.no_newline = true;
        self.display()
    }
pub fn delete_all_before_cursor ( & mut self ) -> io :: Result < ( ) > { cur_buf_mut ! ( self ) . remove ( 0 , self . cursor ) ; self . cursor = 0 ; self . no_newline = true ; self . display ( ) }
Deletes every character preceding the cursor until the beginning of the line.
Deletes every character preceding the cursor until the beginning of the line .
&mut self
&mut self