bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 47/51] man/ncurses.3x: Reform "color pair" terminology.


From: G. Branden Robinson
Subject: [PATCH 47/51] man/ncurses.3x: Reform "color pair" terminology.
Date: Fri, 26 Jul 2024 12:54:48 -0500

Use that phrase only attributively, with the word "identifier", rather
than stand-alone or with the word "selection".  Drive home the notion
that what the user is manipulating is a single scalar value that
references a coupled pair of colors.  A "color pair" is not two things
when applied to a curses character: it's one thing.
---
 man/ncurses.3x | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index 0ab713678..2ae0d64f6 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -446,7 +446,9 @@ .SS "Wide and Non-wide Character Configurations"
 .I \%ncurses
 is the library in its \*(``non-wide\*('' configuration,
 handling only eight-bit characters.
-It stores a character combined with attributes and a color pair in a
+It stores a character combined with attributes
+and a color pair identifier
+in a
 .I \%chtype
 datum,
 which is often an alias of
@@ -464,7 +466,7 @@ .SS "Wide and Non-wide Character Configurations"
 .I curses
 character.
 .IP
-Attributes and a color pair selection
+Attributes and a color pair identifier
 (with no corresponding character)
 can be stored in variables of
 .I \%chtype
@@ -551,7 +553,7 @@ .SS "Wide and Non-wide Character Configurations"
 whose
 .I \%wchar_t
 member is the null wide character.
-Attributes and a color pair selection are stored in separate fields of
+Attributes and a color pair identifier are stored in separate fields of
 the structure,
 not combined into an integer as in
 .IR \%chtype .
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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