3 \fBinsch\fR, \fBwinsch\fR, \fBmvinsch\fR, \fBmvwinsch\fR -
4 insert a character before cursor in a \fBcurses\fR window
6 \fB#include <curses.h>\fR
8 \fBint insch(chtype ch);\fR
10 \fBint winsch(WINDOW *win, chtype ch);\fR
12 \fBint mvinsch(int y, int x, chtype ch);\fR
14 \fBint mvwinsch(WINDOW *win, int y, int x, chtype ch);\fR
17 These routines, insert the character \fIch\fR before the character under the
18 cursor. All characters to the right of the cursor are moved one space to the
19 right, with the possibility of the rightmost character on the line being lost.
20 The insertion operation does not change the cursor position.
22 All routines that return an integer return \fBERR\fR upon failure and OK (SVr4
23 specifies only "an integer value other than \fBERR\fR") upon successful
24 completion, unless otherwise noted in the preceding routine descriptions.
26 These routines do not necessarily imply use of a hardware insert character
29 Note that \fBinsch\fR, \fBmvinsch\fR, and \fBmvwinsch\fR may be macros.
31 These functions are described in the XSI Curses standard, Issue 4.
35 .\"# The following sets edit modes for GNU EMACS