Function libnotcurses_sys::ncplane_contents[][src]

pub unsafe extern "C" fn ncplane_contents(
    n: *mut ncplane,
    begy: c_int,
    begx: c_int,
    leny: c_int,
    lenx: c_int
) -> *mut c_char
Expand description

Create a flat string from the EGCs of the selected region of the ncplane ‘n’. Start at the plane’s ‘begy’x’begx’ coordinate (which must lie on the plane), continuing for ‘leny’x’lenx’ cells. Either or both of ‘leny’ and ‘lenx’ can be specified as -1 to go through the boundary of the plane.