X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_clear.3x;h=b81273e86b2f254514e0c8b8274b77f5c4acb1d0;hb=bd2d9c5734d2c66abe0b2ddd766695b200c154fe;hp=de9ee2ed6bfed38f337051bae4ae68020fa7e2c6;hpb=d90067f9008bb8338a77c1ed519bc108c275ed04;p=ncurses.git diff --git a/man/curs_clear.3x b/man/curs_clear.3x index de9ee2ed..b81273e8 100644 --- a/man/curs_clear.3x +++ b/man/curs_clear.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright 2018-2022,2023 Thomas E. Dickey * +.\" Copyright 2018-2023,2024 Thomas E. Dickey * .\" Copyright 1998-2010,2016 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -27,8 +27,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_clear.3x,v 1.41 2023/12/16 21:09:11 tom Exp $ -.TH curs_clear 3X 2023-12-16 "ncurses 6.4" "Library calls" +.\" $Id: curs_clear.3x,v 1.44 2024/01/05 21:46:58 tom Exp $ +.TH curs_clear 3X 2024-01-05 "ncurses 6.4" "Library calls" .ie \n(.g \{\ .ds `` \(lq .ds '' \(rq @@ -71,23 +71,23 @@ clear all or part of a \fIcurses\fR window \fBint wclrtoeol(WINDOW *\fIwin\fP); .fi .SH DESCRIPTION -.SS erase/werase +.SS "erase, werase" The \fBerase\fP and \fBwerase\fP routines copy blanks to every position in the window, clearing the screen. .PP Blanks created by erasure have the current background rendition (as set by \fBwbkgdset\fP(3X)) merged into them. -.SS clear/wclear +.SS "clear, wclear" The \fBclear\fP and \fBwclear\fP routines are like \fBerase\fP and \fBwerase\fP, but they also call \fBclearok\fP(3X), so that the screen is cleared completely on the next call to \fBwrefresh\fP for that window and repainted from scratch. -.SS clrtobot/wclrtobot +.SS "clrtobot, wclrtobot" The \fBclrtobot\fP and \fBwclrtobot\fP routines erase from the cursor to the end of screen. That is, they erase all lines below the cursor in the window. Also, the current line to the right of the cursor, inclusive, is erased. -.SS clrtoeol/wclrtoeol +.SS "clrtoeol, wclrtoeol" The \fBclrtoeol\fP and \fBwclrtoeol\fP routines erase the current line to the right of the cursor, inclusive, to the end of the current line. .SH RETURN VALUE