Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Fix synopsis, use more markup.



details:   https://anonhg.NetBSD.org/src/rev/0837778b3dd4
branches:  trunk
changeset: 746178:0837778b3dd4
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Mar 23 16:14:20 2020 +0000

description:
Fix synopsis, use more markup.

diffstat:

 lib/libcurses/curses_mouse.3 |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r 69352110005c -r 0837778b3dd4 lib/libcurses/curses_mouse.3
--- a/lib/libcurses/curses_mouse.3      Mon Mar 23 15:32:56 2020 +0000
+++ b/lib/libcurses/curses_mouse.3      Mon Mar 23 16:14:20 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: curses_mouse.3,v 1.1 2020/03/23 15:32:56 roy Exp $
+.\"    $NetBSD: curses_mouse.3,v 1.2 2020/03/23 16:14:20 wiz Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -52,18 +52,20 @@
 .Ft int
 .Fn ungetmouse "MEVENT *event"
 .Ft mmask_t
-.Fn mousemask "mmask_t newmask, mmask_t *oldmask"
+.Fn mousemask "mmask_t newmask" "mmask_t *oldmask"
 .Ft bool
-.Fn wenclose "const WINDOW *win, int y, int x"
+.Fn wenclose "const WINDOW *win" "int y" "int x"
 .Ft bool
-.Fn mouse_trafo "int *y, int *x, bool"
+.Fn mouse_trafo "int *y" "int *x" "bool to_screen"
 .Ft bool
-.Fn wmouse_trafo "const WINDOW *win, int *y, int *x, bool to_screen"
+.Fn wmouse_trafo "const WINDOW *win" "int *y" "int *x" "bool to_screen"
 .Ft int
 .Fn mouseinterval "int erval"
 .Sh DESCRIPTION
 This is the curses interface to mouse events.
-Mouse events are reported via the KEY_MOUSE value in the
+Mouse events are reported via the
+.Dv KEY_MOUSE
+value in the
 .Xr wgetch 3
 input stream.
 .Pp
@@ -116,8 +118,7 @@
 .Fa to_screen .
 If the co-ordinates are not enclosed by the window
 .Fa win
-then false is returned,
-otherwise the
+then false is returned, otherwise the
 .Fa x
 and
 .Fa y



Home | Main Index | Thread Index | Old Index