bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 18/23] man/term_variables.3x: Add example of `CUR` usage in ncurs


From: G. Branden Robinson
Subject: [PATCH 18/23] man/term_variables.3x: Add example of `CUR` usage in ncurses.
Date: Thu, 26 Dec 2024 21:36:16 -0600

---
 man/term_variables.3x | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/man/term_variables.3x b/man/term_variables.3x
index dea9b6a65..4fa026a33 100644
--- a/man/term_variables.3x
+++ b/man/term_variables.3x
@@ -155,6 +155,16 @@ .SS "\fIterminfo\fP Names"
 The actual definition of \fBCUR\fP depends upon the implementation,
 but each terminfo library provides these long names defined to point
 into the current terminal description loaded into memory.
+For example,
+in
+.IR \%ncurses ","
+the expressions
+.B tigetstr("key_dc")
+and
+\*(``\c \" `` string not reliable in a macro call on DWB/Heirloom nroffs
+.B "CUR Strings[59]\c"
+\*('' \" '' string not reliable in a macro call on DWB/Heirloom nroffs
+are equivalent.
 .\"
 .SS "\fIterminfo\fP and \fIcurses"
 \fB\%setupterm\fP(3X) initializes the lower-level
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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