Function libnotcurses_sys::ncdirect_cursor_yx[][src]

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

Get the cursor position, when supported. This requires writing to the terminal, and then reading from it. If the terminal doesn’t reply, or doesn’t reply in a way we understand, the results might be deleterious.