macro_rules! putstrln {
    ($plane:ident) => { ... };
    ($plane:ident, $($args:tt)*) => { ... };
}
Expand description

Wrapper around NcPlane.putstrln. rendering and rasterizing the plane afterwards.

Returns an NcResult with the number of columns advanced, with newlines counting as 1 column.

Example

let nc = unsafe { Nc::new_cli()? };
let splane = unsafe { nc.stdplane() };
splane.set_scrolling(true);
assert_eq![12, putstrln!(splane, "hello world")?];
putstrln!(splane, "formatted text: {:?}", (0, 1.0, "two") )?;