Function libnotcurses_sys::ncplane_putc_yx[][src]

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

Replace the cell at the specified coordinates with the provided cell ‘c’, and advance the cursor by the width of the cell (but not past the end of the plane). On success, returns the number of columns the cursor was advanced. ‘c’ must already be associated with ‘n’. On failure, -1 is returned.