Function ncursesw::mvins_wch[][src]

pub fn mvins_wch(origin: Origin, wch: ComplexChar) -> Result<(), NCurseswError>
Expand description

Insert a complex character on the standard screen at the given origin.

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 origin = Origin { y: 5, x: 10 };

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

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

mvins_wch(origin, complex_char)?;