X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_attr.3x.html;h=ce3e6f5a1e31f92831dafec384c4101d4e3984ea;hp=c8aefaea55b51bad2e3131e28e88c0c34a9fd556;hb=e2d7d0028f4298dca2b0edaf2dc8ce30518d9218;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/doc/html/man/curs_attr.3x.html b/doc/html/man/curs_attr.3x.html index c8aefaea..ce3e6f5a 100644 --- a/doc/html/man/curs_attr.3x.html +++ b/doc/html/man/curs_attr.3x.html @@ -2,7 +2,7 @@ @@ -141,18 +141,13 @@ color argument is a color-pair index (as in the first ar- gument of init_pair, see curs_color(3x)). The opts argu- ment is not presently used, but is reserved for the future - (leave it NULL). Note that changing the attributes does - not imply that a subsequent refresh will update the screen - to match, since the character values are not modified. - Use touchwin to force the screen to match the updated at- - tributes. + (leave it NULL). Attributes The following video attributes, defined in <curses.h>, can be passed to the routines attron, attroff, and attrset, or OR'd with the characters passed to addch. - A_NORMAL Normal display (no highlight) A_STANDOUT Best highlighting mode of the terminal. A_UNDERLINE Underlining @@ -211,6 +206,9 @@ tr_set. These are intended to work with a new series of highlight macros prefixed with WA_. + Older versions of this library did not force an update of + the screen when changing the attributes. Use touchwin to + force the screen to match the updated attributes. WA_NORMAL Normal display (no highlight) WA_STANDOUT Best highlighting mode of the terminal. @@ -241,13 +239,18 @@ This implementation returns an error if the window pointer is null. The wcolor_set function returns an error if the color pair parameter is outside the range 0..COL- - OR_PAIRS-1. + OR_PAIRS-1. This implementation also provides getattrs + for compatibility with older versions of curses. + + Functions with a "mv" prefix first perform a cursor move- + ment using wmove, and return an error if the position is + outside the window, or if the window pointer is null.

SEE ALSO

        curses(3x),        curs_addch(3x),        curs_addstr(3x),
-       curs_bkgd(3x), curs_printw(3x)
+       curs_bkgd(3x), curs_printw(3x), curs_variables(3x)