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