X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_pad.3x;h=64cf0081f9c5a81ee138e85f6e2b2e2573175e68;hp=495fc7b1d02e8485013754f4f5da189496853ac6;hb=6b99a559185b3b8fad80b56bc2070b08101c33d1;hpb=06078d3fa68db669ed37178c01873546b4b28745 diff --git a/man/curs_pad.3x b/man/curs_pad.3x index 495fc7b1..64cf0081 100644 --- a/man/curs_pad.3x +++ b/man/curs_pad.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2015,2017 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2017,2018 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 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_pad.3x,v 1.23 2017/11/19 01:29:46 tom Exp $ +.\" $Id: curs_pad.3x,v 1.25 2018/07/28 22:20:54 tom Exp $ .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 @@ -118,7 +118,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 +193,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 +235,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).