Function ncursesw::wadd_wch [−][src]
pub fn wadd_wch(handle: WINDOW, wch: ComplexChar) -> Result<(), NCurseswError>
Expand description
Add a complex character at thecurrent position on the specified window
Example
let colors1 = Colors::new(Color::Red, Color::Black);
let color_pair1 = ColorPair::new(colors1)?;
let attributes = Attribute::Dim | color_pair1;
let wch = ComplexChar::from_char('A', color_pair1, attributes)?;
wadd_wch(window_handle, wch)?;