Function ncursesw::ins_nwstr[][src]

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

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

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 wide_str = WideString::from_str("Testing..Testing..1..2..3..");

// insert "Testing..Testing.."
ins_nwstr(&wide_str, 18)?;