Function ncursesw::mvaddstr [−][src]
pub fn mvaddstr(origin: Origin, str: &str) -> Result<(), NCurseswError>
Expand description
Add/Output a character string to the standard screen at a given origin.
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 origin = Origin { y: 5, x: 10 };
let s = "Testing..Testing..1..2..3..";
// this will output "Testing..Testing..1..2..3.."
mvaddstr(origin, &s)?;