Function ncursesw::mvinsstr [−][src]
pub fn mvinsstr(origin: Origin, str: &str) -> Result<(), NCurseswError>
Expand description
Insert a string on the standard screen at the given origin.
All characters to the right of the cursor are shifted right, with the possibility of the rightmost characters on the line being lost. No wrapping is performed.
Example
extern crate ncursesw;
use ncursesw::*;
let s = "Testing..Testing..1..2..3..";
// insert "Testing..Testing..1..2..3.." at line 5, column 10
mvinsstr(Origin { y: 5, x: 10 }, &s)?;