summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/options-table.c
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/options-table.c
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/options-table.c')
-rw-r--r--usr.bin/tmux/options-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index 97c1962caf9..c829882a510 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.185 2024/11/11 08:41:05 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.186 2024/11/15 13:12:20 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1187,7 +1187,7 @@ const struct options_table_entry options_table[] = {
{ .name = "pane-scrollbars-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
- .default_str = "bg=black,fg=white",
+ .default_str = "bg=black,fg=white,width=1,pad=0",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of the pane scrollbar."