ncreader_create

Function ncreader_create 

Source
pub unsafe extern "C" fn ncreader_create(
    n: *mut ncplane,
    opts: *const ncreader_options,
) -> *mut ncreader
Expand description

ncreaders provide freeform input in a (possibly multiline) region, supporting optional readline keybindings. takes ownership of ā€˜n’, destroying it on any error (ncreader_destroy() otherwise destroys the ncplane).