X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_initscr.3x.html;h=778fc0016d1ad2c99233fc06d82c1fe1c0a0a709;hb=HEAD;hp=cc3a133702e6e1dd42dea74bf787fb5c002b6e05;hpb=00dd248b527ad47f0fc3b0776a0889da0ac926d0;p=ncurses.git diff --git a/doc/html/man/curs_initscr.3x.html b/doc/html/man/curs_initscr.3x.html index cc3a1337..9b77d4c3 100644 --- a/doc/html/man/curs_initscr.3x.html +++ b/doc/html/man/curs_initscr.3x.html @@ -27,19 +27,19 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_initscr.3x,v 1.69 2024/04/20 21:24:19 tom Exp @ + * @Id: curs_initscr.3x,v 1.75 2024/06/08 20:34:23 tom Exp @ -->
-curs_initscr(3x) Library calls curs_initscr(3x) @@ -157,17 +157,17 @@ X/Open defines no error conditions. In this implementation - o endwin returns an error if + o endwin returns ERR if o the terminal was not initialized, or o endwin is called more than once without updating the screen, or - o reset_shell_mode(3x) returns an error. + o reset_shell_mode(3x) return ERR. - o newterm returns an error if it cannot allocate the data structures - for the screen, or for the top-level windows within the screen, - i.e., curscr, newscr, or stdscr. + o newterm returns ERR if it cannot allocate the data structures for + the screen, or for the top-level windows within the screen, i.e., + curscr, newscr, or stdscr. o set_term returns no error. @@ -286,11 +286,15 @@ SIGWINCH This handles the window-size changes which were ignored in the standardization efforts. The handler sets a (signal-safe) - variable which is later tested in wgetch(3x). If keypad has been - enabled for the corresponding window, wgetch returns the key - symbol KEY_RESIZE. At the same time, wgetch calls resizeterm to - adjust the standard screen stdscr, and update other data such as - LINES and COLS. + variable that is later tested by wgetch(3x) and wget_wch(3x). + + o wgetch returns the key code KEY_RESIZE. + + o wget_wch returns KEY_CODE_YES and sets its wch parameter to + KEY_RESIZE. + + At the same time, ncurses calls resizeterm to adjust the standard + screen stdscr, and update other data such as LINES and COLS.
@@ -299,7 +303,7 @@ -ncurses 6.4 2024-04-20 curs_initscr(3x) +ncurses 6.5 2024-06-08 curs_initscr(3x)