Function libnotcurses_sys::ffi::ncdirect_readline [−][src]
pub unsafe extern "C" fn ncdirect_readline(
nc: *mut ncdirect,
prompt: *const c_char
) -> *mut c_char
Expand description
Read a (heap-allocated) line of text using the Readline library Initializes Readline the first time it’s called. For input to be echoed to the terminal, it is necessary that NCDIRECT_OPTION_INHIBIT_CBREAK be provided to ncdirect_init(). Returns NULL on error.