VMS Help
CRTL, mv[w]addch
*Conan The Librarian
|
Move the cursor to coordinates (y,x) and add a character to the
specified window.
Format
#include <curses.h>
int mvaddch (int y, int x, char ch);
int mvwaddch (WINDOW *win, int y, int x, char ch);
win
A pointer to the window.
y
A window coordinate.
x
A window coordinate.
ch
If this argument is a new-line character (\n), the mvaddch and
mvwaddch functions clear the line to the end, and move the cursor
to the next line at the same x coordinate. A carriage return (\r)
moves the cursor to the beginning of the specified line. A tab
(\t) moves the cursor to the next tabstop within the window.
This routine performs the same function as mvwaddch, but on the
stdscr window.
When mvwaddch is used on a subwindow, it writes the character
onto the underlying window as well.
OK Indicates success.
ERR Indicates that writing the character would
cause the screen to scroll illegally. For more
information, see the scrollok function.