summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-09-04 14:59:38 +0200
committerpgen <p.gen.progs@gmail.com>2020-09-04 15:44:00 +0200
commitcd6437156a0bc16d787ebe60c4a7505cc0d3e358 (patch)
tree3450a52705f1c1a6fba5f49d3337a54f65423df9 /smenu.1
parent1fe00fc17916af2a5c9d9984f5645e1e22b2cdf1 (diff)
Improve the manual and the README
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.19
1 files changed, 7 insertions, 2 deletions
diff --git a/smenu.1 b/smenu.1
index 1da1693..5658954 100644
--- a/smenu.1
+++ b/smenu.1
@@ -1583,13 +1583,18 @@ with the cursor on \fIQuit\fP and only the numbers and "Quit" selectable.
\f(CBR=$(smenu -q -d -s/Exit -M -n 30 -c \\
-e "@+" -E '/@+/ /' \\
-F -D n:1 i:1 \\
- -m "Test menu"$'\\n' < sample.mnu)
+ -m "Test menu" < sample.mnu)
The selected entry will be available in \f(CBR\fP
Try to understand it as an exercise.
.SH ENVIRONMENT
-\fINO_COLOR\fP: force a monochrome terminal when set.
+.TS
+tab(@);
+l l.
+\fINO_COLOR\fP@force a monochrome terminal when set.
+\fICTXOPT_DEBUG\fP@put the option parser in debug mode.
+.TE
.SH BUGS/LIMITATIONS
Some terminal emulators, those notably based on VTE version later than
0.35 (see https://github.com/GNOME/vte/commit/01380d), have a new feature