pub fn cursor_down(&mut self) -> bool {
        let (height, _) = self.buf.get_shape();
        // wrap line, now check if we need scroll
        if self.cursor.0 == height - 1 {
            false
        } else {
            self.cursor.0 += 1;
            true
        }
    }
/// The cursor will not move if its already at the last line.
/// Return true if a cursor movement occurs
The cursor will not move if its already at the last line.
Return true if a cursor movement occurs
The cursor will not move if its already at the last line . Return true if a cursor movement occurs
pub fn cursor_down(&mut self) -> bool {
        let (height, _) = self.buf.get_shape();
        // wrap line, now check if we need scroll
        if self.cursor.0 == height - 1 {
            false
        } else {
            self.cursor.0 += 1;
            true
        }
    }
pub fn cursor_down ( & mut self ) -> bool { let ( height , _ ) = self . buf . get_shape ( ) ; // wrap line, now check if we need scroll if self . cursor . 0 == height - 1 { false } else { self . cursor . 0 += 1 ; true } }
The cursor will not move if its already at the last line.
The cursor will not move if its already at the last line .
&mut self