X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_move.3x.html;h=7b9336019a8212cf36b7471e21e3c28c61db0aa4;hp=93f425182fef3c6a1692f315bf19c5a268075ab8;hb=HEAD;hpb=b0b1980be11bba618d84beb8b30ac94e2c820602 diff --git a/doc/html/man/curs_move.3x.html b/doc/html/man/curs_move.3x.html index 93f42518..190c8ac3 100644 --- a/doc/html/man/curs_move.3x.html +++ b/doc/html/man/curs_move.3x.html @@ -1,7 +1,7 @@ - - +
-- -curs_move(3x) curs_move(3x) +curs_move(3x) Library calls curs_move(3x) --
- move, wmove - move curses window cursor +
+ move, wmove - move cursor in a curses window --
+
#include <curses.h> - int move(int y, int x); - int wmove(WINDOW *win, int y, int x); + int move(int y, int x); + int wmove(WINDOW *win, int y, int x); --
- These routines move the cursor associated with the window - to line y and column x. This routine does not move the - physical cursor of the terminal until refresh is called. - The position specified is relative to the upper left-hand - corner of the window, which is (0,0). +
+ wmove relocates the cursor associated with the curses window win to + line y and column x. The terminal's cursor does not move until + refresh(3x) is called. The position (x, y) is relative to the upper + left-hand corner of the window, which has coordinates (0, 0). + ncurses(3x) describes the move variant of this function. --
- These routines return ERR upon failure and OK (SVr4 speci- - fies only "an integer value other than ERR") upon success- - ful completion. +
+ These functions return OK on success and ERR on failure. - Specifically, they return an error if the window pointer - is null, or if the position is outside the window. + They fail if the position (y, x) is outside the window boundaries. + wmove fails if its WINDOW pointer argument is NULL. --
- Note that move may be a macro. +
+ move may be implemented as a macro. --
- These functions are described in the XSI Curses standard, - Issue 4. +
+ X/Open Curses, Issue 4 describes these functions. --
+ +
curses(3x), curs_refresh(3x) - curs_move(3x) +ncurses 6.4 2024-04-20 curs_move(3x)-