[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 015/177] man/curs_add{,_w}ch.3x: Add fundamental information.
From: |
G. Branden Robinson |
Subject: |
[PATCH 015/177] man/curs_add{,_w}ch.3x: Add fundamental information. |
Date: |
Mon, 13 Jan 2025 11:15:55 -0600 |
Describe how to construct a curses (complex) character from scratch.
---
man/curs_add_wch.3x | 6 ++++++
man/curs_addch.3x | 11 +++++++++++
2 files changed, 17 insertions(+)
diff --git a/man/curs_add_wch.3x b/man/curs_add_wch.3x
index 78f09481b..fe3feecd6 100644
--- a/man/curs_add_wch.3x
+++ b/man/curs_add_wch.3x
@@ -78,6 +78,12 @@ .SS wadd_wch
analogously to the standard C library's \fI\%putwchar\fP(3).
\fB\%ncurses\fP(3X) describes the variants of this function.
.PP
+Construct a
+.I curses
+complex character
+from a
+.I wchar_t
+with \fB\%setcchar\fP(3X).
Much behavior depends on whether the wide characters in
.I wch
are spacing or non-spacing;
diff --git a/man/curs_addch.3x b/man/curs_addch.3x
index 7a17d05e8..9c729fd14 100644
--- a/man/curs_addch.3x
+++ b/man/curs_addch.3x
@@ -84,6 +84,17 @@ .SS waddch
analogously to the standard C library's \fI\%putchar\fP(3).
\fB\%ncurses\fP(3X) describes the variants of this function.
.PP
+Construct a
+.I curses
+character
+from a
+.I char
+by assignment.
+Subsection \*(``Video Attributes\*('' of \fB\%attron\fP(3X) describes
+how to manipulate its attributes and color pair.
+(A color pair selection is not honored unless initialized;
+see \fB\%start_color\fP(3X).)
+.PP
If advancement occurs at the right margin,
.bP
the cursor automatically wraps to the beginning of the next line,
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 015/177] man/curs_add{,_w}ch.3x: Add fundamental information.,
G. Branden Robinson <=