notcurses_refresh

Function notcurses_refresh 

Source
pub unsafe extern "C" fn notcurses_refresh(
    n: *mut notcurses,
    y: *mut c_uint,
    x: *mut c_uint,
) -> 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.