[][src]Function ncursesw::leaveok

pub fn leaveok(handle: WINDOW, flag: bool) -> Result<(), NCurseswError>

If flag is true, cursor is left where it is on update, instead of being at “cursor position.” This reduces cursor movement where possible. If possible the cursor will be made invisible.

If flag is false, cursor will always be at “cursor position” after an update.