bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 15/32] man/ncurses.3x: Describe strings of chtype and cchar_t typ


From: G. Branden Robinson
Subject: [PATCH 15/32] man/ncurses.3x: Describe strings of chtype and cchar_t types.
Date: Sat, 11 May 2024 08:30:01 -0500

Describe what constitutes a null character for these types.
---
 man/ncurses.3x | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index 64873d7aa..150c5e23d 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -436,6 +436,18 @@ .SS "Wide and Non-wide Character Configurations"
 datum,
 which is often an alias of
 .IR int .
+A string of
+.I curses
+characters is similar to a C
+.I char
+string;
+a
+.I chtype
+string ends with an integral
+.BR 0 ","
+the null
+.I curses
+character.
 .IP
 Attributes alone
 (with no corresponding character)
@@ -478,6 +490,11 @@ .SS "Wide and Non-wide Character Configurations"
 a complex character contains one spacing character and zero or more
 non-spacing characters
 (see below).
+A string of complex characters ends with a
+.I \%cchar_t
+whose
+.I \%wchar_t
+member is the null wide character.
 Attributes and color data are stored in separate fields of the
 structure,
 not combined as in
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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