Window location cursor functions.
Curses Library (libcurses.a)
int ( x); int wmove (WINDOW *win, int y, int x);
The move and wmove subroutines move the logical cursor associated with the current or specified window to (y, x) relative to the window's origin. This subroutine does not move the cursor of the terminal until the next refresh (refresh or wrefresh Subroutine) operation.
y | |
x | |
*win |
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
move(5, 10);
WINDOW *my_window; wmove(my_window, 5, 10);
The getch (getch, mvgetch, mvwgetch, or wgetch Subroutine) and refresh (refresh or wrefresh Subroutine) subroutines.
Controlling the Cursor with Curses, Curses Overview for Programming, List of Curses Subroutines in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.