]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/curs_pad.3x
ncurses 6.2 - patch 20201003
[ncurses.git] / man / curs_pad.3x
index 495fc7b1d02e8485013754f4f5da189496853ac6..36fca52ffbd96f18e03a98515ae266c21a57f58a 100644 (file)
@@ -1,5 +1,6 @@
 .\"***************************************************************************
-.\" Copyright (c) 1998-2015,2017 Free Software Foundation, Inc.              *
+.\" Copyright 2018,2020 Thomas E. Dickey                                     *
+.\" Copyright 1998-2015,2017 Free Software Foundation, Inc.                  *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
 .\" copy of this software and associated documentation files (the            *
@@ -26,7 +27,7 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_pad.3x,v 1.23 2017/11/19 01:29:46 tom Exp $
+.\" $Id: curs_pad.3x,v 1.26 2020/02/02 23:34:34 tom Exp $
 .de bP
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
@@ -118,7 +119,8 @@ they were zero.
 .SS pechochar
 .PP
 The \fBpechochar\fR routine is functionally equivalent to a call to \fBaddch\fR
-followed by a call to \fBrefresh\fR(3X), a call to \fBwaddch\fR followed by a call
+followed by a call to \fBrefresh\fR(3X),
+a call to \fBwaddch\fR followed by a call
 to \fBwrefresh\fR, or a call to \fBwaddch\fR followed by a call to
 \fBprefresh\fR.
 The knowledge that only a single character is being output is
@@ -192,7 +194,9 @@ and is not checked by the vendor Unix implementations:
 SVr4 curses sets a flag in the \fBWINDOW\fP structure in \fBnewpad\fP
 which tells if the window is a \fIpad\fP.
 .IP
-However, it uses this information only in \fBwscrl\fP,
+However, it uses this information only in
+\fBwaddch\fP (to decide if it should call \fBwrefresh\fP) and
+\fBwscrl\fP (to avoid scrolling a pad),
 and does not check in \fBwrefresh\fP to ensure that the pad
 is refreshed properly.
 .bP
@@ -232,4 +236,7 @@ that pads and windows are handled distinctly, and
 ensures that \fBdupwin\fP and \fBgetwin\fP treat
 pads versus windows consistently.
 .SH SEE ALSO
-\fBcurses\fR(3X), \fBcurs_refresh\fR(3X), \fBcurs_touch\fR(3X), \fBcurs_addch\fR(3X).
+\fBcurses\fR(3X),
+\fBcurs_refresh\fR(3X),
+\fBcurs_touch\fR(3X),
+\fBcurs_addch\fR(3X).