X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_inch.3x.html;h=b3f1485d989a65897389e177885cf0406db44ec1;hp=2c4b22a576e6cbae716202aad4aec9e806a07258;hb=refs%2Ftags%2Fv5.3;hpb=c633e5103a29a38532cf1925257b91cea33fd090 diff --git a/doc/html/man/curs_inch.3x.html b/doc/html/man/curs_inch.3x.html index 2c4b22a5..b3f1485d 100644 --- a/doc/html/man/curs_inch.3x.html +++ b/doc/html/man/curs_inch.3x.html @@ -1,41 +1,80 @@ + + +
+- inch, winch, mvinch, mvwinch - get a character and - attributes from a curses window + inch, winch, mvinch, mvwinch - get a character and + attributes from a curses window
- #include <curses.h> + #include <curses.h> - chtype inch(void); - chtype winch(WINDOW *win); - chtype mvinch(int y, int x); - chtype mvwinch(WINDOW *win, int y, int x); + chtype inch(void); + chtype winch(WINDOW *win); + chtype mvinch(int y, int x); + chtype mvwinch(WINDOW *win, int y, int x);
- These routines return the character, of type chtype, at + These routines return the character, of type chtype, at the current position in the named window. If any attributes are set for that position, their values are OR'ed into the value returned. Constants defined in - <curses.h> can be used with the & (logical AND) operator + <curses.h> can be used with the & (logical AND) operator to extract the character or attributes alone. - Attributes + Attributes The following bit-masks may be AND-ed with characters - returned by winch. + returned by winch. - A_CHARTEXT Bit-mask to extract character - A_ATTRIBUTES Bit-mask to extract attributes - A_COLOR Bit-mask to extract color-pair field information + A_CHARTEXT Bit-mask to extract character + A_ATTRIBUTES Bit-mask to extract attributes + A_COLOR Bit-mask to extract color-pair field information@@ -51,7 +90,7 @@
- curses(3x). + curses(3x).