Function ncursesw::ins_wstr[][src]

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

Insert a wide character string (unicode UTF-8) 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..1..2..3.."
ins_wstr(&wide_str)?;