Function libnotcurses_sys::ncplane_hline[][src]

pub fn ncplane_hline(
    plane: &mut NcPlane,
    cell: &NcCell,
    len: NcDim
) -> NcIntResult
Expand description

Draws horizontal lines using the specified NcCell, starting at the current cursor position.

The cursor will end at the cell following the last cell output, just as if ncplane_putc() was called at that spot.

Returns the number of cells drawn on success. On error, returns the negative number of cells drawn.

Method: NcPlane.hline().