pub fn scroll(&mut self) {
        self.scroll_offset += 1;
        if self.scroll_offset >= self.virtual_buffer.len() {
            self.scroll_offset = 0;
        }
    }
/// Moves the visible buffer one pixel to the right. When the right side of the visible buffer
/// reaches the right side of the virtual buffer, it starts again from the beginning.
Moves the visible buffer one pixel to the right. When the right side of the visible buffer
reaches the right side of the virtual buffer, it starts again from the beginning.
Moves the visible buffer one pixel to the right . When the right side of the visible buffer reaches the right side of the virtual buffer it starts again from the beginning .
pub fn scroll(&mut self) {
        self.scroll_offset += 1;
        if self.scroll_offset >= self.virtual_buffer.len() {
            self.scroll_offset = 0;
        }
    }
pub fn scroll ( & mut self ) { self . scroll_offset += 1 ; if self . scroll_offset >= self . virtual_buffer . len ( ) { self . scroll_offset = 0 ; } }
Moves the visible buffer one pixel to the right.
Moves the visible buffer one pixel to the right .
&mut self