]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/menu_driver.3x
ncurses 6.4 - patch 20231014
[ncurses.git] / man / menu_driver.3x
index 7709952fff2a028339ce4cd5dbc12b3a9cafff35..10e9d2167a6807222123141a8d5e5e69250dc715 100644 (file)
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: menu_driver.3x,v 1.35 2023/07/01 15:46:10 tom Exp $
-.TH menu_driver 3X 2023-07-01 "ncurses 6.4" "Library calls"
+.\" $Id: menu_driver.3x,v 1.41 2023/10/07 21:19:07 tom Exp $
+.TH menu_driver 3X 2023-10-07 "ncurses 6.4" "Library calls"
 .de bP
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 ..
 .SH NAME
-\fBmenu_driver\fP \- command-processing loop of the menu system
+\fBmenu_driver\fP \-
+command-processing loop of the menu system
 .SH SYNOPSIS
-\fB#include <menu.h>\fP
-.sp
-\fBint menu_driver(MENU *\fImenu\fB, int \fIc\fB);\fR
+.nf
+\fB#include <menu.h>
+.PP
+\fBint menu_driver(MENU *\fImenu\fP, int \fIc\fP);
+.fi
 .SH DESCRIPTION
 Once a menu has been posted (displayed), you should funnel input events to it
 through \fBmenu_driver\fP.  This routine has three major input cases:
@@ -188,10 +191,6 @@ Character failed to match.
 .TP 5
 .B E_REQUEST_DENIED
 The menu driver could not process the request.
-.SH SEE ALSO
-\fBcurses\fP(3X),
-\fBgetch\fP(3X),
-\fBmenu\fP(3X).
 .SH NOTES
 The header file \fB<menu.h>\fP automatically includes the header files
 \fB<curses.h>\fP.
@@ -203,3 +202,7 @@ The support for mouse events is ncurses specific.
 .SH AUTHORS
 Juergen Pfeifer.
 Manual pages and adaptation for new curses by Eric S. Raymond.
+.SH SEE ALSO
+\fB\%curses\fP(3X),
+\fB\%getch\fP(3X),
+\fB\%menu\fP(3X)