summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2024-05-08 23:43:24 +0200
committerpgen <p.gen.progs@gmail.com>2024-05-09 14:59:20 +0200
commit598a788ab97d1aeae790940df98317d2c1602e16 (patch)
tree87c2519da14fc3ea48442ad6a539a8c56eb8af16 /smenu.1
parentaea2784d3307654c4733f7208284bc13c190fcfb (diff)
Add a -hbar|-shroll_bar optionHEADmaster
It can be useful to always have a horizontal scroll bar when certain lines are truncated in column or line mode, even if no lines are currently truncated among those displayed.
Diffstat (limited to 'smenu.1')
-rwxr-xr-xsmenu.112
1 files changed, 12 insertions, 0 deletions
diff --git a/smenu.1 b/smenu.1
index aa74110..9f163f0 100755
--- a/smenu.1
+++ b/smenu.1
@@ -64,6 +64,7 @@ and outputs the selection to stdout.
\fIbytes\fP]
[\fB-q\fP|\fB-no_bar\fP|\fB-no_scroll_bar\fP]
[\fB-no_hbar\fP|\fB-no_hor_scroll_bar\fP]
+ [\fB-hbar\fP|\fB-hor_scroll_bar\fP]
[\fB-S\fP|\fB-subst\fP... \fI/regex/repl/opts\fP]
[\fB-I\fP|\fB-si\fP|\fB-subst_included\fP... \fI/regex/repl/opts\fP]
[\fB-E\fP|\fB-se\fP|\fB-subst_excluded\fP... \fI/regex/repl/opts\fP]
@@ -1881,6 +1882,17 @@ This also prevents the display of the horizontal scroll bar.
(Allowed in all contexts.)
Prevents the display of the horizontal scroll bar.
+.IP "\fB-hbar\fP|\fB-hor_scroll_bar\fP"
+(Allowed in all contexts.)
+
+Forces the display of the horizontal scroll when at least one line will be
+truncated.
+This is the case even if the current line or lines being currently
+displayed are not truncated.
+
+When the \fB-no_hbar\fP|\fB-no_hor_scroll_bar\fP or
+\fB-q\fP|\fB-no_bar\fP|\fB-no_scroll_bar\fP are also present then this
+option is ignored.
.IP "\fB-S\fP|\fB-subst\fP... \
/\fIregex\fP/\fIrepl\fP/[\fIg\fP][\fIv\fP][\fIs\fP]"
(Allowed in all contexts.)