#include "cobscreen.h" void cobscroll (int top, int bot);
top | The first line of the area of screen to be scrolled up one line. This must be two lines less than the physical screen size to prevent the top line from scrolling off the screen. |
bot | The last line of the area of screen to be scrolled up one line |
None.
The top line of the screen is 0. The bottom line of the screen can be found using coblines(). Hence, to scroll the entire screen use:
cobscroll(0, coblines() - 1);