Function ncursesw::insnstr[][src]

pub fn insnstr(str: &str, number: i32) -> Result<(), NCurseswError>
Expand description

Insert a string of a given length on the standard screen.

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.."
insnstr(&s, 18)?;