tail head cat sleep
QR code linking to this page

Manual Pages  — curs_ins_wch

NAME

ins_wch, mvins_wch, mvwins_wch, wins_wch - insert a complex character and rendition into a window

CONTENTS

SYNOPSIS

#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);

DESCRIPTION

These routines, insert the complex character wch with rendition before the character under the cursor. All characters to the right of the cursor are moved one space to the right, with the possibility of the rightmost character on the line being lost. The insertion operation does not change the cursor position.

RETURN VALUE

If successful, these functions return OK. If not, they return ERR.

Functions with a ``mv'' prefix first perform a cursor movement using wmove, and return an error if the position is outside the window, or if the window pointer is null.

ERRORS

No errors are defined.

SEE ALSO

curses(3), curs_insch(3).

curs_ins_wch (3X)

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC