summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man3/scroll.3ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-unstable/man3/scroll.3ncurses')
-rw-r--r--upstream/debian-unstable/man3/scroll.3ncurses17
1 files changed, 9 insertions, 8 deletions
diff --git a/upstream/debian-unstable/man3/scroll.3ncurses b/upstream/debian-unstable/man3/scroll.3ncurses
index 678942b7..a0879281 100644
--- a/upstream/debian-unstable/man3/scroll.3ncurses
+++ b/upstream/debian-unstable/man3/scroll.3ncurses
@@ -1,5 +1,5 @@
.\"***************************************************************************
-.\" Copyright 2018-2022,2023 Thomas E. Dickey *
+.\" Copyright 2018-2023,2024 Thomas E. Dickey *
.\" Copyright 1998-2006,2010 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_scroll.3x,v 1.36 2023/12/16 22:52:35 tom Exp $
-.TH scroll 3NCURSES 2023-12-16 "ncurses 6.4" "Library calls"
+.\" $Id: curs_scroll.3x,v 1.43 2024/04/20 18:54:36 tom Exp $
+.TH scroll 3NCURSES 2024-04-20 "ncurses 6.5" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@@ -64,7 +64,7 @@ That is,
every visible line we might number
.I i
becomes line
-.IR i \-1.
+.IR i "\-1."
The text of the top line in the window disappears and the bottom line
is populated with blank characters;
see \fB\%bkgd\fP(3NCURSES) or \fB\%bkgrnd\fP(3NCURSES).
@@ -76,14 +76,14 @@ see \fB\%curscr\fP(3NCURSES).
\fB\%scrl\fP and \fB\%wscrl\fP scroll
.B \%stdscr
or the specified window up or down depending on the sign of
-.I n.
+.IR n .
.bP
For positive
-.I n,
+.IR n ,
line \fIi\fP+\fIn\fP becomes \fIi\fP (scrolling up);
.bP
for negative
-.I n,
+.IR n ,
line \fIi\fP-\fIn\fP becomes \fIi\fP (scrolling down).
.PP
The cursor does not move.
@@ -110,7 +110,8 @@ accepting a \fI\%WINDOW\fP pointer argument.
.PP
\fB\%scrl\fP and \fB\%scroll\fP may be implemented as macros.
.SH PORTABILITY
-X/Open Curses, Issue 4, describes these functions.
+X/Open Curses,
+Issue 4 describes these functions.
It defines no error conditions.
.PP
SVr4 specifies only