Function libnotcurses_sys::notcurses_refresh[][src]

pub unsafe extern "C" fn notcurses_refresh(
    n: *mut notcurses,
    y: *mut c_int,
    x: *mut c_int
) -> c_int
Expand description

Refresh the physical screen to match what was last rendered (i.e., without reflecting any changes since the last call to notcurses_render()). This is primarily useful if the screen is externally corrupted, or if an NCKEY_RESIZE event has been read and you’re not yet ready to render. The current screen geometry is returned in ‘y’ and ‘x’, if they are not NULL.