1curs_move(3CURSES) Curses Library Functions curs_move(3CURSES)
2
3
4
6 curs_move, move, wmove - move curses window cursor
7
9 cc [ flag ... ] file ... -lcurses [ library ... ]
10 #include <curses.h>
11
12 int move(int y, int x);
13
14
15 int wmove(WINDOW *win, int y, int x);
16
17
19 With these routines, the cursor associated with the window is moved to
20 line y and column x. This routine does not move the physical cursor of
21 the terminal until refresh() is called. The position specified is rela‐
22 tive to the upper left-hand corner of the window, which is (0,0).
23
25 These routines return the integer ERR upon failure and an integer value
26 other than ERR upon successful completion.
27
29 See attributes(5) for descriptions of the following attributes:
30
31
32
33
34 ┌─────────────────────────────┬─────────────────────────────┐
35 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
36 ├─────────────────────────────┼─────────────────────────────┤
37 │MT-Level │Unsafe │
38 └─────────────────────────────┴─────────────────────────────┘
39
41 curs_refresh(3CURSES), curses(3CURSES), attributes(5)
42
44 The header <curses.h> automatically includes the headers <stdio.h> and
45 <unctrl.h>.
46
47
48 Note that move() may be a macro.
49
50
51
52SunOS 5.11 31 Dec 1996 curs_move(3CURSES)