Function ncursesw::mvadd_wch [−][src]
pub fn mvadd_wch(origin: Origin, wch: ComplexChar) -> Result<(), NCurseswError>
Expand description
Add a complex character to the specified position on the standard screen
Example
let colors1 = Colors::new(Color::Red, Color::Black);
let color_pair1 = ColorPair::new(colors1)?;
let attributes = Attribute::Dim | color_pair1;
let origin = Origin { y: 10, x: 15 };
let wch = ComplexChar::from_char('A', color_pair1, attributes)?;
mvadd_wch(origin, wch)?;