Change the current cursor position on the specified window to the
coordinates (y,x). The move function acts on the stdscr window.
Format
#include <curses.h>
int move (int y, int x);
int wmove (WINDOW *win, int y, int x);
1 – Arguments
win
A pointer to the window.
y
A window coordinate.
x
A window coordinate.
2 – Description
For more information, see the scrollok function in this section.
3 – Return Values
OK Indicates success.
ERR Indicates that the function makes the screen
scroll illegally.