Move the cursor to coordinates (y,x), get a character from the terminal screen, and echo it on the specified window. The mvgetch function acts on the stdscr window.
#include <curses.h> int mvgetch (int y, int x); int mvwgetch (WINDOW *win, int y, int x);
x | The returned character. |
ERR | Indicates that the function causes the screen to scroll illegally. For more information, see the scrollok function in this section. |