Function libnotcurses_sys::ncplane_at_yx_cell[][src]

pub unsafe extern "C" fn ncplane_at_yx_cell(
    n: *mut ncplane,
    y: c_int,
    x: c_int,
    c: *mut nccell
) -> c_int
Expand description

Retrieve the current contents of the specified cell into ‘c’. This cell is invalidated if the associated plane is destroyed. Returns the number of bytes in the EGC, or -1 on error. Unlike ncplane_at_yx(), when called upon the secondary columns of a wide glyph, the return can be distinguished from the primary column (nccell_wide_right_p(c) will return true).