bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 111/177] man/curs_mouse.3x: Update summary description and synops


From: G. Branden Robinson
Subject: [PATCH 111/177] man/curs_mouse.3x: Update summary description and synopsis.
Date: Mon, 13 Jan 2025 11:32:50 -0600

* Add type symbols `mmask_t` and `MEVENT` (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).
* Use C comments in synopsis to distinguish type from function
  declarations (see "man/curs_variables.3x").
---
 man/curs_mouse.3x | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x
index d65bf29d5..54c76127f 100644
--- a/man/curs_mouse.3x
+++ b/man/curs_mouse.3x
@@ -53,12 +53,15 @@ .SH NAME
 \fB\%wenclose\fP,
 \fB\%mouse_trafo\fP,
 \fB\%wmouse_trafo\fP,
-\fB\%mouseinterval\fP \-
-get mouse events in \fIcurses\fR
+\fB\%mouseinterval\fP,
+\fB\%mmask_t\fP,
+\fB\%MEVENT\fP \-
+get mouse events in \fIncurses\fR
 .SH SYNOPSIS
 .nf
 \fB#include <curses.h>
 .PP
+\fI/* data types */
 \fBtypedef unsigned long mmask_t;
 .PP
 \fBtypedef struct {
@@ -67,6 +70,7 @@ .SH SYNOPSIS
 \fB    mmask_t bstate; \fI/* button state bits */
 \fB} MEVENT;
 .PP
+\fI/* functions */
 \fBbool has_mouse(void);
 .PP
 \fBmmask_t mousemask(mmask_t \fInewmask\fP, mmask_t * \fIoldmask\fP);
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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