commit - 991c5d3c1b9228594689b8919c3b089d858ee47c
commit + 0dee1b65826311cdc66b57372b4acc9710cc5f9b
blob - 7612cf5d3d3998b39dc2ad73d2dbc6974fb312fe
blob + 5d14b0a57ed0515365cce4b03eb7822f651b40a1
--- mymenu.1
+++ mymenu.1
.Sh SYNOPSIS
.Nm
.Bk -words
-.Op Fl hvaA
+.Op Fl Aamvh
.Op Fl p Ar prompt
.Op Fl x Ar coord
.Op Fl y Ar coord
.Op Fl C Ar color
.Op Fl s Ar color
.Op Fl S Ar color
-.Op Fl w Ar window
+.Op Fl e Ar window
.Op Fl d Ar separator
.Ek
.Sh DESCRIPTION
.It Fl A
The user must chose one of the option (or none) and is not able to
arbitrary enter text
+.It Fl m
+The user can select multiple entry via C-m. Please consult
+.Sx KEYS
+for more info.
.It Fl p Ar prompt
Override the prompt
.It Fl x Ar val
.It Enter
Close the menu and print to stdout what the user typed
.It C-m
-The same as Enter
+Confirm but keep looping (if enabled), otherwise complete only
.It Tab
Expand the prompt to the next possible completion
.It Shift Tab
.Sh AUTHORS
.An Omar Polo <omar.polo@europecom.net>
-.Sh BUGS
+.Sh CAVEATS
.Bl -bullet
.It
If, instead of a numeric value, a not-valid number that terminates
blob - 6f169f18f8edde24ddcd507f07917ffe99636c60
blob + 07a7a5591b95688a662d300f3019b6f7d42081d2
--- mymenu.1.md
+++ mymenu.1.md
# SYNOPSIS
**mymenu**
-\[**-hvaA**]
+\[**-Aamvh**]
\[**-p** *prompt*]
\[**-x** *coord*]
\[**-y** *coord*]
\[**-C** *color*]
\[**-s** *color*]
\[**-S** *color*]
-\[**-w** *window*]
+\[**-e** *window*]
\[**-d** *separator*]
# DESCRIPTION
> The user must chose one of the option (or none) and is not able to
> arbitrary enter text
+**-m**
+
+> The user can select multiple entry via C-m. Please consult
+> *KEYS*
+> for more info.
+
**-p** *prompt*
> Override the prompt
**-d** *sep*
-> Show to the user only the text after the specified separator. If a
-> line does not contain the given separator, the whole line will be
-> showed to the user.
+> Optionally show only the text after the given separator. Defaults
+> to the whole line if the separator is not present.
# RESOURCES
C-m
-> The same as Enter
+> Confirm but keep looping (if enabled), otherwise complete only
Tab
Omar Polo <omar.polo@europecom.net>
-# BUGS
+# CAVEATS
* If, instead of a numeric value, a not-valid number that terminates
with the % sign is supplied, then the default value for that field
height of the window, remember to override the x and y coordinates as
well.
-OpenBSD 6.3 - July 21, 2018
+OpenBSD 6.3 - August 13, 2018