pub fn grow_visible_lines(&mut self, next: Line, template_row: Row<T>)
    where
        T: Clone,
    {
        // Number of lines the buffer needs to grow
        let growage = (next - (self.visible_lines + 1)).0;
        self.grow_lines(growage, template_row);

        // Update visible lines
        self.visible_lines = next - 1;
    }
/// Increase the number of lines in the buffer
Increase the number of lines in the buffer
Increase the number of lines in the buffer
pub fn grow_visible_lines(&mut self, next: Line, template_row: Row<T>)
    where
        T: Clone,
    {
        // Number of lines the buffer needs to grow
        let growage = (next - (self.visible_lines + 1)).0;
        self.grow_lines(growage, template_row);
        // Update visible lines
        self.visible_lines = next - 1;
    }
pub fn grow_visible_lines ( & mut self , next : Line , template_row : Row < T > ) where T : Clone , { // Number of lines the buffer needs to grow let growage = ( next - ( self . visible_lines + 1 ) ) . 0 ; self . grow_lines ( growage , template_row ) ; // Update visible lines self . visible_lines = next - 1 ; }
Increase the number of lines in the buffer
Increase the number of lines in the buffer
&mut self
next
Line
template_row
Row<T>
&mut self
next
Line
template_row
Row<T>