The SetScrollRegion method allows an application to set the
current scrolling region for the virtual display. This specifies the
region (between the top and bottom rows) in which text will normally
scroll. If the display is in origin mode, the cursor cannot be
positioned outside of the scrolling region.
The minimum scrolling region that may be defined is two rows. If a
scrolling region is specified that is less than two rows, the method
will fail and the current scrolling region will remain unchanged.
Specifying values of -1 for both arguments will reset the scrolling
region to the default values (the full display).
The DEC STBM escape sequence is used to set or clear the scrolling
region of the virtual display.