The scroll() function scrolls the window win up one line. The current cursor position is not changed.
The scrl() and wscrl() functions scroll the window stdscr or win up or down n lines,
where n is a positive (scroll up) or negative (scroll down) integer.
The scrollok(3XCURSES) function must be enabled for these functions to work.