Function ncursesw::wscrl

source · []
pub fn wscrl(handle: WINDOW, n: i32) -> Result<(), NCurseswError>
Expand description

For positive n, the wscrl() routine scroll the window up n lines (line i+n becomes i); otherwise scroll the window down n lines. This involves moving the lines in the window character image structure. The current cursor position is not changed.

For these functions to work, scrolling must be enabled via scrollok().