X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fhtml%2Fman%2Fcurs_clear.3x.html;h=2eb714ef1540e5634fc26d0c799e39f30173ab0d;hb=75a9c36c205ebefe07580acd0b1053a2abbd44b9;hp=8d48dc225e6a3327c09c853c88aed6f0ae8d1779;hpb=7e062bb2764a87d98073a90ee65a234a2679f9c1;p=ncurses.git diff --git a/doc/html/man/curs_clear.3x.html b/doc/html/man/curs_clear.3x.html index 8d48dc22..2eb714ef 100644 --- a/doc/html/man/curs_clear.3x.html +++ b/doc/html/man/curs_clear.3x.html @@ -1,6 +1,6 @@
-curs_clear(3x) Library calls curs_clear(3x) @@ -69,7 +69,7 @@
-
+
The erase and werase routines copy blanks to every position in the window, clearing the screen. @@ -77,20 +77,20 @@ 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 erased. -
+
The clrtoeol and wclrtoeol routines erase the current line to the right of the cursor, inclusive, to the end of the current line. @@ -112,18 +112,16 @@
- These functions are described in the XSI Curses standard, Issue 4. The - standard specifies that they return ERR on failure, but specifies no - error conditions. + These functions are described in the XSI Curses standard, Issue 4. - The SVr4.0 manual says that these functions could return "a non- - negative 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. + The SVr4.0 manual says that these functions could return "or a non- + negative integer if immedok 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, the ability to do the equivalent of clearok(..., 1) by saying - touchwin(stdscr) or clear(stdscr). This will not work under ncurses. + touchwin(stdscr) or clear(stdscr). This will not work under ncurses. This implementation, and others such as Solaris, sets the current position to 0,0 after erasing via werase and wclear. That fact is not @@ -140,7 +138,7 @@ -ncurses 6.4 2023-09-30 curs_clear(3x) +ncurses 6.4 2024-03-16 curs_clear(3x)