summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-03-31 22:12:16 +0200
committerpgen <p.gen.progs@gmail.com>2023-03-31 22:12:16 +0200
commit137b0625b0ac175582963bae7c50accdde6e510d (patch)
treeda9f5f0e6cb98b4f121adb0dd6e8caf0b4e1fec2 /smenu.1
parentee14c98ecb81b0728d36a07e22fc94ef5364ba5c (diff)
Change the manual to mention the argument of -sb
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.115
1 files changed, 11 insertions, 4 deletions
diff --git a/smenu.1 b/smenu.1
index ff99343..c3fe94d 100644
--- a/smenu.1
+++ b/smenu.1
@@ -83,7 +83,7 @@ and outputs the selection to stdout.
\fInew_button_3\fP]
[\fB-dc\fP|\fB-dcd\fP|\fB-double_click\fP|\fB-double_click_delay\fP \
\fIdelay_in_ms\fP]
- [\fB-sb\fP|\fB-sbw\fP|\fB-show_blank_words\fP]
+ [\fB-sb\fP|\fB-sbw\fP|\fB-show_blank_words\fP [\fIblank_char\fP]]
selectors ::= \fIcol1\fP[-\fIcol2\fP],...|\fIrow1\fP[-\fIrow2\fP],...|\
@@ -1960,14 +1960,21 @@ The double-click capability can also be disabled by setting
This setting is also configurable in a configuration file, see the
[mouse] section in the example in the configuration sub-section.
-.IP "\fB-sb\fP|\fB-sbw\fP|\fB-show_blank_words\fP"
+.IP "\fB-sb\fP|\fB-sbw\fP|\fB-show_blank_words\fP [\fIblank_char\fP]"
(Allowed in all contexts.)
Normally, blank words (words containing only space:.!fmt
s) are only kept in column mode.
When this option is present, these words are converted into a sequence
-of underscores so that they are visible and not ignored when not in
-column mode.
+of \fIblank_char\fP (or underscore if the optional parameter is absent)
+so that they are visible and not ignored when not in column mode.
+
+\fIblank_char\fP must be printable but not a space nor a multibyte
+character.
+
+Note: These blank words remain blank even if they are now made
+visible. They can still be excluded using \f(CB-e '\ '\fP
+or \f(CB-e '[ ]'\fP per example.
.SH NOTES
If tabulators (\fI\\t\fP) are embedded in the input, there is no way
to replace them with the original number of spaces.