Move the cursor to coordinates (y,x) and add the specified string, to which str points, to the specified window.
#include <curses.h> int mvaddstr (int y, int x, char *str); int mvwaddstr (WINDOW *win, int y, int x, char *str);
When mvwaddstr is used on a subwindow, the string is written onto the underlying window as well.
OK | Indicates success. |
ERR | Indicates that the function causes the screen to scroll illegally, but it places as much of the string onto the window as possible. For more information, see the scrollok function in this section. |