pub fn rows(
        &self,
        start: u16,
        width: u16,
    ) -> impl Iterator<Item = String> + '_ {
        self.grid().visible_rows().map(move |row| {
            let mut contents = String::new();
            row.write_contents(&mut contents, start, width, false);
            contents
        })
    }
Returns the text contents of the terminal by row, restricted to the
given subset of columns.

This will not include any formatting information, and will be in plain
text format.

Newlines will not be included.
crates/turborepo-vt100/src/screen.rs