X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_add_wch.3x.html;h=1d0115afd589e026ba3848ba18af726b7e9e4030;hp=77ed34d591bd0f66543214d40f575af6852e9335;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=f86cbeb5f9bd96ab041d34039c35749a14965039 diff --git a/doc/html/man/curs_add_wch.3x.html b/doc/html/man/curs_add_wch.3x.html index 77ed34d5..1d0115af 100644 --- a/doc/html/man/curs_add_wch.3x.html +++ b/doc/html/man/curs_add_wch.3x.html @@ -1,7 +1,6 @@ - +
+ +- curs_add_wch(3x) curs_add_wch(3x)-
+NAME
add_wch, wadd_wch, mvadd_wch, mvwadd_wch, echo_wchar, wecho_wchar - add a complex character and rendition to a curses window, then advance the cursor-SYNOPSIS
+SYNOPSIS
#include <curses.h> int add_wch( const cchar_t *wch ); @@ -66,7 +67,7 @@-DESCRIPTION
+DESCRIPTION
The add_wch, wadd_wch, mvadd_wch, and mvwadd_wch functions put the complex character wch into the given window at its current position, which is then advanced. These functions @@ -77,17 +78,17 @@ ous character at that location is removed. A new character specified by wch is placed at that location with rendition specified by wch. The cursor then - advances to the next spacing character on the screen. + advances to the next spacing character on the screen. o If wch refers to a non-spacing character, all previous - characters at that location are preserved. The non- - spacing characters of wch are added to the spacing - complex character, and the rendition specified by wch + characters at that location are preserved. The non- + spacing characters of wch are added to the spacing + complex character, and the rendition specified by wch is ignored. - o If the character part of wch is a tab, newline, - backspace or other control character, the window is - updated and the cursor moves as if addch were called. + o If the character part of wch is a tab, newline, + backspace or other control character, the window is + updated and the cursor moves as if addch were called. The echo_wchar function is functionally equivalent to a call to add_wch followed by a call to refresh. Similarly, @@ -98,12 +99,13 @@ able performance gain might be seen by using the *echo* functions instead of their equivalents. - Line Graphics - Like addch(3x), addch_wch accepts symbols which make it + ++Line Graphics
+ Like curs_addch(3x), addch_wch accepts symbols which make it simple to draw lines and other frequently used special characters. These symbols correspond to the same VT100 - line-drawing set as addch(3x). - + line-drawing set as curs_addch(3x). Name Unicode Default Description ---------------------------------------------------------------- @@ -111,8 +113,8 @@ WACS_BOARD 0x2592 # board of squares WACS_BTEE 0x2534 + bottom tee WACS_BULLET 0x00b7 o bullet - WACS_CKBOARD 0x2592 : checker board (stipple) + WACS_DARROW 0x2193 v arrow pointing down WACS_DEGREE 0x00b0 ' degree symbol WACS_DIAMOND 0x25c6 + diamond @@ -144,7 +146,6 @@ The wide-character configuration of ncurses also defines symbols for thick- and double-lines: - Name Unicode Default Description --------------------------------------------------------------------- WACS_T_ULCORNER 0x250f + thick upper left corner @@ -172,7 +173,7 @@-RETURN VALUES
+RETURN VALUE
All routines return the integer ERR upon failure and OK on success. @@ -182,13 +183,13 @@-NOTES
+NOTES
Note that add_wch, mvadd_wch, mvwadd_wch, and echo_wchar may be macros.-PORTABILITY
+PORTABILITY
All of these functions are described in the XSI Curses standard, Issue 4. The defaults specified for line-draw- ing characters apply in the POSIX locale. @@ -215,18 +216,28 @@-SEE ALSO
+SEE ALSO
curses(3x), curs_addch(3x), curs_attr(3x), curs_clear(3x), - curs_outopts(3x), curs_refresh(3x), putwc(3) + curs_outopts(3x), curs_refresh(3x), putwc(3) curs_add_wch(3x)-
- -Man(1) output converted with -man2html - +