summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2024-11-15 13:12:21 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2024-11-15 13:12:21 +0000
commitae58853c01a2c1ba5f25057625b07899fb2645e7 (patch)
tree8afe016bbff385b3ea46f1ebb8be3d46449ff480 /usr.bin/tmux/tmux.1
parent3989fb3ccf3fa91bf09d92e8e7e721d5454f5264 (diff)
Add two new style parameters, width and pad, which apply to scrollbars.
From Michael Grant, GitHub issue 4241.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.111
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 664454095ef..3c50e851917 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.971 2024/11/12 09:32:56 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.972 2024/11/15 13:12:20 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 12 2024 $
+.Dd $Mdocdate: November 15 2024 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -5071,7 +5071,12 @@ see the
section.
The foreground colour is used for the slider, the background for the rest of the
scrollbar.
-Attributes are ignored.
+The
+.Ar width
+attribute sets the width of the scrollbar and the
+.Ar pad
+attribute the padding between the scrollbar and the pane.
+Other attributes are ignored.
.Pp
.It Xo Ic pane-scrollbars-position
.Op Ic left | right