X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_move.3x;h=d81d8026b699669ee96dbeef1f383bfc2349a31f;hb=74433bcf4f6fe40862a28f3c00edaedcd5054b01;hp=e0c1bf5e02846c4560f325e21808793d768fa6c6;hpb=e6bb3226cdd35f5fd9f45bb1685cc2203c889480;p=ncurses.git diff --git a/man/curs_move.3x b/man/curs_move.3x index e0c1bf5e..d81d8026 100644 --- a/man/curs_move.3x +++ b/man/curs_move.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright 2018,2020 Thomas E. Dickey * +.\" Copyright 2018-2020,2021 Thomas E. Dickey * .\" Copyright 1998-2010,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -27,40 +27,40 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_move.3x,v 1.19 2020/10/24 09:39:41 tom Exp $ +.\" $Id: curs_move.3x,v 1.21 2021/12/25 21:41:58 tom Exp $ .TH curs_move 3X "" .na .hy 0 .SH NAME -\fBmove\fR, -\fBwmove\fR \- move \fBcurses\fR window cursor +\fBmove\fP, +\fBwmove\fP \- move \fBcurses\fP window cursor .ad .hy .SH SYNOPSIS -\fB#include \fR +\fB#include \fP .sp -\fBint move(int \fP\fIy\fP\fB, int \fP\fIx\fP\fB);\fR +\fBint move(int \fP\fIy\fP\fB, int \fP\fIx\fP\fB);\fP .br -\fBint wmove(WINDOW *\fP\fIwin\fP\fB, int \fP\fIy\fP\fB, int \fP\fIx\fP\fB);\fR +\fBint wmove(WINDOW *\fP\fIwin\fP\fB, int \fP\fIy\fP\fB, int \fP\fIx\fP\fB);\fP .br .SH DESCRIPTION -These routines move the cursor associated with the window to line \fIy\fR and -column \fIx\fR. +These routines move the cursor associated with the window to line \fIy\fP and +column \fIx\fP. This routine does not move the physical cursor of the terminal -until \fBrefresh\fR(3X) is called. +until \fBrefresh\fP(3X) is called. The position specified is relative to the upper left-hand corner of the window, which is (0,0). .SH RETURN VALUE -These routines return \fBERR\fR upon failure and \fBOK\fP (SVr4 -specifies only "an integer value other than \fBERR\fR") upon successful +These routines return \fBERR\fP upon failure and \fBOK\fP (SVr4 +specifies only "an integer value other than \fBERR\fP") upon successful completion. .PP Specifically, they return an error if the window pointer is null, or if the position is outside the window. .SH NOTES -Note that \fBmove\fR may be a macro. +Note that \fBmove\fP may be a macro. .SH PORTABILITY These functions are described in the XSI Curses standard, Issue 4. .SH SEE ALSO -\fBcurses\fR(3X), \fBcurs_refresh\fR(3X) +\fBcurses\fP(3X), \fBcurs_refresh\fP(3X)