scrollok(3cur)scrollok(3cur)Namescrollok - enable screen scrolling
Syntax
#include <cursesX.h>
int scrollok(win, bf)
WINDOW ∗win;
bool bf;
Description
This option controls what happens when the cursor is moved off the edge
of the specified window or scrolling region, either from a newline on
the bottom line, or typing the last character of the last line. If
disabled, (bf is FALSE) the cursor is left on the bottom line. If
enabled, the window is scrolled up one line and then refreshed.
Return Values
The function returns OK on success and ERR on error.
scrollok(3cur)