Move the cursor to coordinates (y,x) and return the character on
the specified window without making changes to the window. The
mvinch function acts on the stdscr window.
Format
#include <curses.h>
int mvinch (int y, int x);
int mvwinch (WINDOW *win, int y, int x);
1 – Arguments
win
A pointer to the window.
y
A window coordinate.
x
A window coordinate.
2 – Return Values
x The returned character.
ERR Indicates an input error.