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