X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fresizeterm.3x.html;h=9a099ea669500efbe5ff398fa7abc51fb1305bf0;hp=a1e20f90ab52efff3f5b47f5e91399e9817d2874;hb=81304798ee736c467839c779c9ca5dca48db7bea;hpb=06b5ef53baf520efffbf26929b29d3994af8dfb1 diff --git a/doc/html/man/resizeterm.3x.html b/doc/html/man/resizeterm.3x.html index a1e20f90..9a099ea6 100644 --- a/doc/html/man/resizeterm.3x.html +++ b/doc/html/man/resizeterm.3x.html @@ -1,6 +1,7 @@ - @@ -54,15 +55,15 @@
#include <curses.h> - bool is_term_resized(int lines, int columns); - int resize_term(int lines, int columns); - int resizeterm(int lines, int columns); + bool is_term_resized(int lines, int columns); + int resize_term(int lines, int columns); + int resizeterm(int lines, int columns);
This is an extension to the curses library. It provides callers with a - hook into the ncurses data to resize windows, primarily for use by pro- - grams running in an X Window terminal (e.g., xterm). + hook into the ncurses data to resize windows, primarily for use by + programs running in an X Window terminal (e.g., xterm).
@@ -75,7 +76,7 @@
Most of the work is done by the inner function resize_term. The outer function resizeterm adds bookkeeping for the SIGWINCH handler, as well - as repainting the soft-key area (see slk_touch(3x)). + as repainting the soft-key area (see slk_touch(3x)). When resizing the windows, resize_term blank-fills the areas that are extended. The calling application should fill in these areas with @@ -101,15 +102,15 @@
Except as noted, these functions return the integer ERR upon failure and OK on success. They will fail if either of the dimensions are less - than or equal to zero, or if an error occurs while (re)allocating mem- - ory for the windows. + than or equal to zero, or if an error occurs while (re)allocating + memory for the windows.
- While these functions are intended to be used to support a signal han- - dler (i.e., for SIGWINCH), care should be taken to avoid invoking them - in a context where malloc or realloc may have been interrupted, since - it uses those functions. + While these functions are intended to be used to support a signal + handler (i.e., for SIGWINCH), care should be taken to avoid invoking + them in a context where malloc or realloc may have been interrupted, + since it uses those functions. If ncurses is configured to supply its own SIGWINCH handler, @@ -131,9 +132,9 @@ resize the ncurses data structures. If the environment variables LINES or COLUMNS are set, this overrides - the library's use of the window size obtained from the operating sys- - tem. Thus, even if a SIGWINCH is received, no screen size change may - be recorded. + the library's use of the window size obtained from the operating + system. Thus, even if a SIGWINCH is received, no screen size change + may be recorded.