ncplane_at_cursor

Function ncplane_at_cursor 

Source
pub unsafe extern "C" fn ncplane_at_cursor(
    n: *const ncplane,
    stylemask: *mut u16,
    channels: *mut u64,
) -> *mut c_char
Expand description

Retrieve the current contents of the cell under the cursor. The EGC is returned, or NULL on error. This EGC must be free()d by the caller. The stylemask and channels are written to ‘stylemask’ and ‘channels’, respectively.