ncplane_scrollup_child

Function ncplane_scrollup_child 

Source
pub unsafe extern "C" fn ncplane_scrollup_child(
    n: *mut ncplane,
    child: *const ncplane,
) -> c_int
Expand description

Scroll |n| up until |child| is no longer hidden beneath it. Returns an error if |child| is not a child of |n|, or |n| is not scrolling, or |child| is fixed. Returns the number of scrolling events otherwise (might be 0). If the child plane is not fixed, it will likely scroll as well.