X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_clear.3x.html;h=7d86e09a35948fbfbd29a46c584b4053fc7a731e;hb=a47b9e53836434777854387fa6f09f2137ec2111;hp=a6e944107774bd487d039104273707d5edde13ff;hpb=81304798ee736c467839c779c9ca5dca48db7bea;p=ncurses.git diff --git a/doc/html/man/curs_clear.3x.html b/doc/html/man/curs_clear.3x.html index a6e94410..7d86e09a 100644 --- a/doc/html/man/curs_clear.3x.html +++ b/doc/html/man/curs_clear.3x.html @@ -1,6 +1,6 @@
--curs_clear(3x) curs_clear(3x) +curs_clear(3x) Library calls curs_clear(3x) @@ -68,24 +68,32 @@
+ +
The erase and werase routines copy blanks to every position in the win- dow, clearing the screen. - The clear and wclear routines are like erase and werase, but they also - call clearok, so that the screen is cleared completely on the next call - to wrefresh for that window and repainted from scratch. + Blanks created by erasure have the current background rendition (as set + by wbkgdset(3x)) merged into them. + + +
+ The clear and wclear routines are like erase and werase, but they also + call clearok(3x), so that the screen is cleared completely on the next + call to wrefresh for that window and repainted from scratch. + +
The clrtobot and wclrtobot 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 + 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. + +
The clrtoeol and wclrtoeol routines erase the current line to the right of the cursor, inclusive, to the end of the current line. - Blanks created by erasure have the current background rendition (as set - by wbkgdset) merged into them. -
All routines return the integer OK on success and ERR on failure. @@ -109,8 +117,8 @@ error conditions. The SVr4.0 manual says that these functions could return "a non-nega- - tive integer if immedok is set", referring to the return-value of wre- - fresh. In that implementation, wrefresh would return a count of the + tive integer if immedok(3x) is set", referring to the return-value of + wrefresh. In that implementation, wrefresh would return a count of the number of characters written to the terminal. Some historic curses implementations had, as an undocumented feature, @@ -132,13 +140,20 @@ - curs_clear(3x) +ncurses 6.4 2023-07-01 curs_clear(3x)