Function ncursesw::mvwinsnstr
source · [−]pub fn mvwinsnstr<S: Into<String>>(
handle: WINDOW,
origin: Origin,
str: S,
number: i32
) -> Result<(), NCurseswError>
Expand description
Insert a string (as many characters as will fit on the line) before the
character at origin
, up to number
characters. If number
is zero or
negative, the entire string is inserted. All characters to the right of
the cursor are shifted right, with the rightmost characters on the line
being lost. The cursor position does not change (after moving to origin
).