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

Wrapper around NcPlane.putstr, rendering and rasterizing the plane afterwards.

Returns an NcResult with the number of columns advanced, without including newlines.

Example

let nc = unsafe { Nc::new_cli()? };
let splane = unsafe { nc.stdplane() };
splane.set_scrolling(true);
putstr!(splane, "hello ")?;
putstr!(splane, " world\n")?;
putstr!(splane, "formatted text: {:?}\n", (0, 1.0, "two") )?;