Function ncursesw::addstr [−][src]
pub fn addstr(str: &str) -> Result<(), NCurseswError>
Expand description
Add/Output a character string to the standard screen.
Note: Originally this function whould just output characters in the ascii character set but as of ABI 6 (and maybe eariler) this function will output any unicode UTF-8 character string.
Example
extern crate ncursesw;
use ncursesw::*;
let s = "Testing..Testing..1..2..3..";
// this will output "Testing..Testing..1..2..3.."
addstr(&s)?;