curs_move(3x) curs_move(3x)
move, wmove - move curses window cursor
- curses ウインドウのカーソル移動
#include <curses.h>
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).
これらのルーチンは、ウインドウのカーソルを y 行 x 桁に
移動します。
これらのルーチンは、refresh が呼び出されるまで端末の物理的な
カーソルを移動しません。
位置はウインドウ左上隅の (0,0) から相対的に指定します。
These routines return ERR upon failure and OK (SVr4 speci-
fies only "an integer value other than ERR") upon success-
ful completion.
これらのルーチンは失敗のとき ERR を、正常終了のとき OK
(SVr4 は「ERR 以外の整数値」としか指定していません) を
返します。
Specifically, they return an error if the window pointer
is null, or if the position is outside the window.
具体的には、ウインドウ・ポインタがヌルのとき、または位置が
ウインドウの外のときにエラーを返します。
Note that move may be a macro.
move はマクロであるかもしれないことに注意してください。
These functions are described in the XSI Curses standard,
Issue 4.
これらの関数は XSI Curses standard, Issue 4 に
記載されています。
curses(3x), curs_refresh(3x)
curs_move(3x)