Content: * It's not the library that needs to initialize for its `COLORS`, `COLOR_PAIRS`, `COLS`, and `LINES` properties to be accessible, but the `SCREEN` data structure housing these. (With use of ncurses's screen pointer extension, their values may differ from screen to screen.)
Style: * Use a pronoun where convenient. Markup: * Favor man(7) font style macros over *roff font selection escape sequences, except for man page cross references (because man/make_sed.sh recognizes only certain patterns when rewriting such cross references) and terms in the "NAME" section (because the generated edit_man.sh script expects font selection escape sequences when scraping terms thence to gather names for man page aliases). --- man/curs_variables.3x | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/man/curs_variables.3x b/man/curs_variables.3x index f24f4b8f7..bc5c068f2 100644 --- a/man/curs_variables.3x +++ b/man/curs_variables.3x @@ -279,21 +279,27 @@ .SS "curscr, newscr, stdscr" \fIcurses\fP determines a minimal set of updates using the terminal's capabilities to make \fB\%curscr\fP look like \fB\%newscr\fP. .SS COLORS -Once \fIcurses\fP is initialized, -\fB\%COLORS\fP +Once a +.I curses +screen is initialized, +.B \%COLORS contains the number of colors supported by the terminal; see \fB\%curs_color\fP(3X). .SS COLOR_PAIRS -Once \fIcurses\fP is initialized, -\fB\%COLOR_PAIRS\fP +Once a +.I curses +screen is initialized, +.B \%COLOR_PAIRS contains the number of color pairs supported by the terminal; see \fB\%curs_color\fP(3X). .SS "COLS, LINES" -Once \fIcurses\fP is initialized, +Once a +.I curses +screen is initialized, .B \%COLS and .B LINES -contain the screen's width and height in character cells, +contain its width and height in character cells, respectively; that is, the number of columns and lines. -- 2.30.2
signature.asc
Description: PGP signature
