Function ncursesw::addch [−][src]
pub fn addch(ch: ChtypeChar) -> Result<(), NCurseswError>
Expand description
Add/Output a ascii character and normal
attribute/color pair combination to the standard screen.
Example
extern crate ncursesw;
extern crate ascii;
use ascii::*;
use ncursesw::*;
use ncursesw::normal::*;
let color_pair0 = ColorPair::default();
let attrs = Attributes::default() | color_pair0;
let ascii_char = AsciiChar::A;
let chtype_char = ChtypeChar::new(ascii_char) | attrs;
addch(chtype_char)?;