History Logging
You can use the Windows® scroll bar control to view history data from the current VT session. When configuring the session, select the History Logging option and specify the size of the log (see Configuring a VT Session).
When history logging is enabled, text is logged into the VT history
window as it scrolls off the screen from the top margin row. The top
and bottom margins are set when the host application defines the scrolling
region, using the DECSTBM command sequence ((ESC [ Pn ; Pn r)
).