pub fn scrollok(handle: WINDOW, flag: bool) -> Result<(), NCurseswError>
Expand description
Control what happens when the cursor of a window is moved off the edge of the
window or scrolling region, either as a result of a newline action on the
bottom line, or typing the last character of the last line. If flag is false
,
the cursor is left on the bottom line. If flag is true
, the window is scrolled
up one line. Note that in order to get the physical scrolling effect on the
terminal, it is also necessary to call idlok()
.