Moves all the lines on the window up one line. The top line
scrolls off the window and the bottom line becomes blank.
Format
#include <curses.h>
int scroll (WINDOW *win);
1 – Argument
win
A pointer to the window.
2 – Return Values
OK Indicates success.
ERR Indicates an error.