pub fn ncplane_putnstr(
plane: &mut NcPlane,
num_bytes: usize,
string: &str,
) -> NcResult_i32Expand description
Writes a string to the current location, using the current style,
and no more than num_bytes bytes will be written.
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.putnstr().