property ScrollbackRows : Integer
Default: 200
Defines the number of rows in the scrollback buffer.
The scrollback buffer consists of the visible part of the terminal display, together with the previous data that has scrolled off the top of the terminal display. In general, the user would set ScrollbackRows so that four or five screens worth of previous data could be held in the buffer.
The value of the ScrollbackRows property must be greater than or equal to the value of Rows. If the user attempts to set ScrollbackRows to a value less than Rows, the new value is adjusted to be equal to Rows. No exception is generated in this situation. If the original terminal supports double-height characters then the value of ScrollbackRows still reflects that for standard-sized characters, not the double-height ones.
Altering the value of ScrollbackRows may cause the underlying buffer to be resized. The terminal will attempt to save as much of the original data as possible during the resize operation. If the value of ScrollbackRows is reduced, the data is removed from the top of the buffer rather than the bottom.
The rows in the terminal display are counted from 1, with the top row of the terminal being row 1. The rows above the actual terminal display in the scrollback area are counted backwards from 1. Hence, the row above the top row of the actual terminal display is row 0, the one above that row –1, and so on.