ncplane_putstr_stained

Function ncplane_putstr_stained 

Source
pub fn ncplane_putstr_stained(plane: &mut NcPlane, string: &str) -> NcResult_i32
Expand description

Writes a string to the current location, retaining the previous style.

Advances the cursor by some positive number of columns (though not beyond the end of the plane); this number is returned on success.

On error, a non-positive number is returned, indicating the number of columns which were written before the error.

If a glyph can not fit in the current line, it is an error, unless scrolling is enabled.

Method: NcPlane.putstr_stained().