Move the cursor to coordinates (y,x) and add a character to the specified window.
#include <curses.h> int mvaddch (int y, int x, char ch); int mvwaddch (WINDOW *win, int y, int x, char ch);
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 in this section. |