Function ncursesw::add_wchnstr[][src]

pub fn add_wchnstr(
    wchstr: &ComplexString,
    number: i32
) -> Result<(), NCurseswError>
Expand description

Add/Output a complex character string of a given length to the standard screen.

Example

extern crate ncursesw;

use ncursesw::*;
use ncursesw::normal::*;

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.."
add_wchnstr(&complex_str, 18)?;