Function ScrollbackBuffer.scrollToTop
Scrolling controls.
void scrollToTop(
int width,
int height
);
Notice that scrollToTop needs width and height to know how to word wrap it to determine the number of lines present to scroll back.