Function ncursesw::mvins_nwstr[][src]

pub fn mvins_nwstr(
    origin: Origin,
    wstr: &WideString,
    number: i32
) -> Result<(), NCurseswError>
Expand description

Insert a wide character string (unicode UTF-8) of a given length on the standard screen at a given origin.

All characters to the right of the cursor are shifted right, with the possibility of the rightmost characters on the line being lost. No wrapping is performed.

Example

extern crate ncursesw;

use ncursesw::*;

let origin = Origin { y: 5, x: 10 };

let wide_str = WideString::from_str("Testing..Testing..1..2..3..");

// insert "Testing..Testing.." at line 5, column 10
mvins_nwstr(origin, &wide_str, 18)?;