Function ncursesw::mvwaddch [−][src]
pub fn mvwaddch(
handle: WINDOW,
origin: Origin,
ch: ChtypeChar
) -> Result<(), NCurseswError>
Expand description
Add a chtype (ascii with attributes) character to the specified position on the specified window
Example
let origin = Origin { y: 10, x: 15 };
let ch = ChtypeChar::new(AsciiChar::Asterisk);
mvwaddch(window_handle, origin, ch)?;