bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 03/17] man/curs_add_wch.3x: Copy material from curs_addch.3x.


From: G. Branden Robinson
Subject: [PATCH 03/17] man/curs_add_wch.3x: Copy material from curs_addch.3x.
Date: Wed, 13 Mar 2024 13:09:48 -0500

Add discussion of "TABSIZE" and relevant man page cross reference.

The idea here is to stop making users of the ncurses wide-character API
have to read man pages specific to the non-wide-character API.
---
 man/curs_add_wch.3x | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/man/curs_add_wch.3x b/man/curs_add_wch.3x
index 0e63e12d8..01307815a 100644
--- a/man/curs_add_wch.3x
+++ b/man/curs_add_wch.3x
@@ -423,6 +423,19 @@ .SS "Complex Characters"
 In the latter case,
 \fI\%ncurses\fP adds the non-spacing character to the active
 (base) spacing character.
+.SS TABSIZE
+The
+.B TABSIZE
+variable is implemented in SVr4 and other versions of
+.I curses,
+but is not defined by X/Open Curses
+(see \fBcurs_variables\fP(3X)).
+.PP
+If \fIwch\fP is a carriage return,
+.I curses
+moves the cursor to the beginning of the current row of the window.
+This is true of other implementations,
+but is not documented.
 .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_add_wchstr\fP(3X),
@@ -432,6 +445,7 @@ .SH SEE ALSO
 \fB\%curs_getcchar\fP(3X),
 \fB\%curs_outopts\fP(3X),
 \fB\%curs_refresh\fP(3X),
+\fB\%curs_variables\fP(3X),
 \fB\%putwc\fP(3)
 .PP
 \fB\%curs_addch\fP(3X) describes comparable functions of the
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]