aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2016-05-28 18:10:56 +1000
committerTim Allen <screwtape@froup.com>2016-05-28 18:10:56 +1000
commit8747a185955962adf34372bb64522f61c8b678bf (patch)
treeb122c24e776f7468642797d5a4b2387e7c378de6
parent14f841ec25622a0c19f3547f165ea6a3ca426e4e (diff)
downloadvis-8747a185955962adf34372bb64522f61c8b678bf.tar.gz
vis-8747a185955962adf34372bb64522f61c8b678bf.tar.xz
[vis-menu] Document the initial-filter parameter.
-rw-r--r--vis-menu.18
1 files changed, 8 insertions, 0 deletions
diff --git a/vis-menu.1 b/vis-menu.1
index ebc7bee..00cb3da 100644
--- a/vis-menu.1
+++ b/vis-menu.1
@@ -12,6 +12,7 @@
.Op Fl t | Fl b
.Op Fl p Ar prompt
.Op Fl l Ar lines
+.Op Ar initial
.Nm vis-menu
.Op Fl v
@@ -61,6 +62,13 @@ If there are more than
items in the list,
the user can scroll through them with the arrow keys,
just like in the regular horizontal mode.
+.It Ar initial
+The user can type into a text field
+to filter the list of items
+as well as scrolling through them.
+If supplied,
+.Ar initial
+is used as the initial content of the text field.
.It Fl v
Instead of displaying an interactive menu,
.Nm vis-menu