]> ncurses.scripts.mit.edu Git - ncurses.git/blob - doc/html/man/curs_move.3x.html
ncurses 5.1
[ncurses.git] / doc / html / man / curs_move.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
4 <!-- Manpage converted by man2html 3.0.1 -->
5
6 </PRE>
7 <H2>NAME</H2><PRE>
8        <B>move</B>, <B>wmove</B> - move <B>curses</B> window cursor
9
10
11 </PRE>
12 <H2>SYNOPSIS</H2><PRE>
13        <B>#include</B> <B>&lt;curses.h&gt;</B>
14
15        <B>int</B> <B>move(int</B> <B>y,</B> <B>int</B> <B>x);</B>
16        <B>int</B> <B>wmove(WINDOW</B> <B>*win,</B> <B>int</B> <B>y,</B> <B>int</B> <B>x);</B>
17
18
19 </PRE>
20 <H2>DESCRIPTION</H2><PRE>
21        These  routines move the cursor associated with the window
22        to line <I>y</I> and column <I>x</I>.  This routine does  not  move  the
23        physical  cursor  of the terminal until <B>refresh</B> is called.
24        The position specified is relative to the upper  left-hand
25        corner of the window, which is (0,0).
26
27
28 </PRE>
29 <H2>RETURN VALUE</H2><PRE>
30        These routines return <B>ERR</B> upon failure and OK (SVr4 speci-
31        fies only "an integer value other than <B>ERR</B>") upon success-
32        ful completion.
33
34
35 </PRE>
36 <H2>NOTES</H2><PRE>
37        Note that <B>move</B> may be a macro.
38
39
40 </PRE>
41 <H2>PORTABILITY</H2><PRE>
42        These  functions are described in the XSI Curses standard,
43        Issue 4.  The standard specifies that if (y,x) is within a
44        multi-column  character,  the cursor is moved to the first
45        column of that  character;  however,  this  implementation
46        does  not  yet  support  the extended-level XSI multi-byte
47        characters.
48
49
50 </PRE>
51 <H2>SEE ALSO</H2><PRE>
52        <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></B>
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 </PRE>
74 <HR>
75 <ADDRESS>
76 Man(1) output converted with
77 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
78 </ADDRESS>
79 </BODY>
80 </HTML>