Function libnotcurses_sys::c_api::ncdirect_readline
source · pub unsafe extern "C" fn ncdirect_readline(
nc: *mut ncdirect,
prompt: *const c_char
) -> *mut c_charExpand description
Read a (heap-allocated) newline-delimited chunk of text, after printing the prompt. The newline itself, if present, is included. Returns NULL on error.