bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 12/12] man/curs_bkgrnd.3x: Fix style nits.


From: G. Branden Robinson
Subject: [PATCH 12/12] man/curs_bkgrnd.3x: Fix style nits.
Date: Thu, 14 Sep 2023 07:50:28 -0500

* Drop extraneous spaces from synopsis.
* Refer to `wch` variable using the same typeface in which it was
  synopsized.
* Use font macro instead of font escape sequence.
* Parallelize grammar.
---
 man/curs_bkgrnd.3x | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/man/curs_bkgrnd.3x b/man/curs_bkgrnd.3x
index 6b3bef48..f587354c 100644
--- a/man/curs_bkgrnd.3x
+++ b/man/curs_bkgrnd.3x
@@ -45,9 +45,9 @@ .SH NAME
 .SH SYNOPSIS
 \fB#include <curses.h>\fR
 .sp
-\fBint bkgrnd(\fB const cchar_t *\fIwch\fB);\fR
+\fBint bkgrnd(\fBconst cchar_t *\fIwch\fB);\fR
 .br
-\fBint wbkgrnd(\fB WINDOW *\fIwin\fB, const cchar_t *\fIwch\fB);\fR
+\fBint wbkgrnd(\fBWINDOW *\fIwin\fB, const cchar_t *\fIwch\fB);\fR
 .sp
 \fBvoid bkgrndset(const cchar_t *\fIwch\fR \fB);\fR
 .br
@@ -89,9 +89,11 @@ .SS bkgrnd
 appears, it is changed to the new background character.
 .SS getbkgrnd
 The \fBgetbkgrnd\fP function returns the given window's current background
-character/attribute pair via the \fBwch\fP pointer.
+character/attribute pair via the
+.I wch
+pointer.
 If the given window pointer is null,
-the character is not updated (but no error returned).
+the character is not updated (but no error is returned).
 .SH NOTES
 Note that
 \fBbkgrnd\fP,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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