Function ncursesw::mvadd_wchnstr [−][src]
pub fn mvadd_wchnstr(
origin: Origin,
wchstr: &ComplexString,
number: i32
) -> Result<(), NCurseswError>
Expand description
Add/Output a complex character string of a given length to the standard screen at a given origin.
Example
extern crate ncursesw;
use ncursesw::*;
use ncursesw::normal::*;
let origin = Origin { y: 5, x: 10 };
let color_pair0 = ColorPair::default();
let attrs = Attributes::default();
let complex_str = ComplexString::from_str("Testing..Testing..1..2..3..", &attrs, &color_pair0)?;
// this will output "Testing..Testing.." at line 5, column 10
mvadd_wchnstr(origin, &complex_str, 18)?;