|
|
#include <curses.h>int scrl(int n);
int scroll(WINDOW *win);
int wscrl(WINDOW *win, int n);
The scrl(3curses) and wscrl(3curses) functions scroll the current or specified window. If n is positive, the window scrolls n lines toward the first line. Otherwise, the window scrolls -n lines toward the last line.
These functions do not change the cursor position. If scrolling is disabled for the current or specified window, these functions have no effect. The interaction of these functions with setscrreg(3curses) is currently unspecified.