aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-29 08:55:21 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-29 08:55:21 +0100
commit3d7674816127332e456b0a82cf53dce82a591a3f (patch)
tree36b583376afb002b90ffe953c7ae3b8d341cbfcb /options-table.c
parent2d151d8ca53a3fbc07441e6d691fb13a2aec2ee3 (diff)
downloadrtmux-3d7674816127332e456b0a82cf53dce82a591a3f.tar.gz
rtmux-3d7674816127332e456b0a82cf53dce82a591a3f.tar.bz2
rtmux-3d7674816127332e456b0a82cf53dce82a591a3f.zip
Need to redraw borders now when some things change. Also change default so that
the active border colour is different in a mode or with synchronize-panes on.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index 7c60e404..b0c5bcc5 100644
--- a/options-table.c
+++ b/options-table.c
@@ -717,7 +717,7 @@ const struct options_table_entry options_table[] = {
{ .name = "pane-active-border-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .default_str = "fg=green",
+ .default_str = "#{?pane_in_mode,fg=yellow,#{?synchronize-panes,fg=red,,fg=green}}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ","
},