Function ncursesw::ins_wch[][src]

pub fn ins_wch(wch: ComplexChar) -> Result<(), NCurseswError>
Expand description

Insert a complex character on the standard screen.

Insert the complex character with rendition before the character under the cursor. All characters to the right of the cursor are moved one space to the right, with the possibility of the rightmost character on the line being lost. The insertion operation does not change the cursor position.

Example

extern crate ncursesw;

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

let color_pair0 = ColorPair::default();
let attrs = Attributes::default();

let complex_char = ComplexChar::from_char('A', &attrs, &color_pair0)?;

ins_wch(complex_char)?;