scrollok(3cur)
NAME
scrollok − enable screen scrolling
SYNTAX
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.
Subroutines