X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_add_wch.3x;h=d55be6348fc0fb4cef8f1bf659eee0a82a61dec8;hp=91228d450b2094d0da05a0c506c5fbcaf8eb1b7e;hb=d448186ac240901c6976dc74c260f052d3ed53e4;hpb=027ae42953e3186daed8f3882da73de48291b606;ds=sidebyside diff --git a/man/curs_add_wch.3x b/man/curs_add_wch.3x index 91228d45..d55be634 100644 --- a/man/curs_add_wch.3x +++ b/man/curs_add_wch.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 2001-2002,2006 Free Software Foundation, Inc. * +.\" Copyright (c) 2001-2006,2010 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_add_wch.3x,v 1.5 2006/12/02 17:02:35 tom Exp $ +.\" $Id: curs_add_wch.3x,v 1.8 2010/08/14 23:29:16 tom Exp $ .TH curs_add_wch 3X "" .SH NAME \fBadd_wch\fP, @@ -34,7 +34,7 @@ \fBmvadd_wch\fP, \fBmvwadd_wch\fP, \fBecho_wchar\fP, -\fBwecho_wchar\fP - add a complex character and rendition to a \fBcurses\fR window, then advance the cursor +\fBwecho_wchar\fP \- add a complex character and rendition to a \fBcurses\fR window, then advance the cursor .SH SYNOPSIS .PP \fB#include \fP @@ -64,7 +64,7 @@ which is then advanced. These functions perform wrapping and special-character processing as follows: .TP 5 -- +\- If \fIwch\fP refers to a spacing character, then any previous character at that location is removed. A new character specified by \fIwch\fP is @@ -72,17 +72,17 @@ placed at that location with rendition specified by \fIwch\fP. The cursor then advances to the next spacing character on the screen. .TP 5 -- +\- If \fIwch\fP refers to a non-spacing character, all previous characters at that location are preserved. The non-spacing characters of \fIwch\fP are added to the spacing complex character, and the rendition specified by \fIwch\fP is ignored. .TP 5 -- +\- If the character part of \fIwch\fP is a tab, newline, backspace or other control character, -the window is updated and the cursor moves as if \fBaddch\fR(3X) were called. +the window is updated and the cursor moves as if \fBaddch\fR were called. .PP The \fBecho_wchar\fP function is functionally equivalent to a call to @@ -102,6 +102,10 @@ by using the *\fBecho\fP* functions instead of their equivalents. .SH RETURN VALUES .PP All routines return the integer \fBERR\fR upon failure and \fBOK\fR on success. +.PP +Functions with a "mv" prefix first perform a cursor movement using +\fBwmove\fP, and return an error if the position is outside the window, +or if the window pointer is null. .SH NOTES .PP Note that @@ -122,7 +126,7 @@ Those are not currently implemented in \fBncurses\fP. .PP \fBcurses\fR(3X), \fBcurs_addch\fR(3X), -\fBcurs_attr_get\fR(3X), +\fBcurs_attr\fR(3X), \fBcurs_clear\fR(3X), \fBcurs_outopts\fR(3X), \fBcurs_refresh\fR(3X),