Content-type: text/html
curs_ins_wch, ins_wch, wins_wch, mvins_wch, mvwins_wch - Insert a complex character and rendition before the character under the cursor in a Curses window
#include <curses.h>
int ins_wch(
const cchar_t *wch
);
int wins_wch(
WINDOW *win,
const cchar_t *wch
);
int mvins_wch(
int y,
int x,
const cchar_t *wch
);
int mvwins_wch(
WINDOW *win,
int y,
int x,
const cchar_t *wch
);
Interfaces documented on this reference page conform to industry standards as follows:
ins_wch, wins_wch, mvins_wch, mvwins_wch: XPG4-UNIX
Refer to the
standards(5)
reference page for more information
about industry standards and associated tags.
These functions insert the complex character wch, along with its rendition, in the current or specified window at the current or specified cursor position. These functions: Do not perform wrapping
The header file <curses.h> automatically includes the header file <stdio.h>.
Applications can use add_wch to add nonspacing characters to a spacing-complex character already in the window.
Note that
ins_wch,
mvins_wch,
and
mvwins_wch
may be macros.
All these functions return
OK
upon successful
completion. Otherwise, they return
ERR.
Functions: curses(3), curs_add_wch(3)
Others: standards(5)