[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 087/177] man/curs_color.3x: Document A_COLOR symbol.
From: |
G. Branden Robinson |
Subject: |
[PATCH 087/177] man/curs_color.3x: Document A_COLOR symbol. |
Date: |
Mon, 13 Jan 2025 11:28:42 -0600 |
Add it and the COLOR_ object-like macros (already otherwise documented
here) to the summary description so they get indexed by makewhatis(8) or
mandb(8) and can be found with apropos(1).
---
man/curs_color.3x | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/man/curs_color.3x b/man/curs_color.3x
index 71df2838e..3b54c949d 100644
--- a/man/curs_color.3x
+++ b/man/curs_color.3x
@@ -69,7 +69,8 @@ .SH NAME
\fB\%COLOR_BLUE\fP,
\fB\%COLOR_MAGENTA\fP,
\fB\%COLOR_CYAN\fP,
-\fB\%COLOR_WHITE\fP \-
+\fB\%COLOR_WHITE\fP,
+\fB\%A_COLOR\fP \-
manipulate terminal colors with \fIcurses\fR
.SH SYNOPSIS
.nf
@@ -99,8 +100,18 @@ .SH SYNOPSIS
\fI/* extension */
\fBvoid reset_color_pairs(void);
.PP
+\fI/* macros */
\fBint COLOR_PAIR(int \fIn\fP);
\fBPAIR_NUMBER(int \fIattr\fP);
+\fBCOLOR_BLACK
+\fBCOLOR_RED
+\fBCOLOR_GREEN
+\fBCOLOR_YELLOW
+\fBCOLOR_BLUE
+\fBCOLOR_MAGENTA
+\fBCOLOR_CYAN
+\fBCOLOR_WHITE
+\fBA_COLOR
.fi
.SH DESCRIPTION
.SS Overview
@@ -200,6 +211,10 @@ .SH CONSTANTS
.PP
Some terminals support more than the eight (8) \*(``ANSI\*('' colors.
There are no standard names for those additional colors.
+.PP
+.B \%A_COLOR
+is a bit mask that extracts a color pair identifier from a
+.IR \%chtype "."
.SH VARIABLES
.SS COLORS
is initialized by \fB\%start_color\fP to the maximum number of colors
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 087/177] man/curs_color.3x: Document A_COLOR symbol.,
G. Branden Robinson <=