[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 058/177] man/curs_mouse.3x: Revise "SYNOPSIS" section style.
From: |
G. Branden Robinson |
Subject: |
[PATCH 058/177] man/curs_mouse.3x: Revise "SYNOPSIS" section style. |
Date: |
Mon, 13 Jan 2025 11:23:53 -0600 |
* Reduce space before comments to fit within 65 columns.
* Put a space after pointer stars in function synopses, for consistency
with other recently edited ncurses man pages.
* Reduce indentation of broken synopsis line from 18n to 6n for
consistency with other recently edited ncurses man pages.
---
man/curs_mouse.3x | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x
index e5ea3782b..d65bf29d5 100644
--- a/man/curs_mouse.3x
+++ b/man/curs_mouse.3x
@@ -62,24 +62,23 @@ .SH SYNOPSIS
\fBtypedef unsigned long mmask_t;
.PP
\fBtypedef struct {
-\fB short id; \fI/* ID to distinguish multiple devices */
-\fB int x, y, z; \fI/* event coordinates */
-\fB mmask_t bstate; \fI/* button state bits */
+\fB short id; \fI/* ID to distinguish multiple devices */
+\fB int x, y, z; \fI/* event coordinates */
+\fB mmask_t bstate; \fI/* button state bits */
\fB} MEVENT;
.PP
\fBbool has_mouse(void);
.PP
-\fBmmask_t mousemask(mmask_t \fInewmask\fP, mmask_t *\fIoldmask\fP);
+\fBmmask_t mousemask(mmask_t \fInewmask\fP, mmask_t * \fIoldmask\fP);
.PP
-\fBint getmouse(MEVENT *\fIevent\fP);
-\fBint ungetmouse(MEVENT *\fIevent\fP);
+\fBint getmouse(MEVENT * \fIevent\fP);
+\fBint ungetmouse(MEVENT * \fIevent\fP);
.PP
-\fBbool wenclose(const WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP);
+\fBbool wenclose(const WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP);
.PP
-\fBbool mouse_trafo(int* \fIpY\fP, int* \fIpX\fP, bool \fIto_screen\fP);
-\fBbool wmouse_trafo(const WINDOW* \fIwin\fP,
-.ti +18n \" "bool wmouse_trafo("
-\fBint* \fIpY\fB, int* \fIpX\fB, bool \fIto_screen\fB);
+\fBbool mouse_trafo(int * \fIpY\fP, int * \fIpX\fP, bool \fIto_screen\fP);
+\fBbool wmouse_trafo(const WINDOW * \fIwin\fP,
+ \fBint * \fIpY\fB, int * \fIpX\fB, bool \fIto_screen\fB);
.PP
\fBint mouseinterval(int \fIerval\fB);\fR
.fi
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 058/177] man/curs_mouse.3x: Revise "SYNOPSIS" section style.,
G. Branden Robinson <=