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.
This commit is contained in:
Nicholas Marriott
2020-04-29 08:55:21 +01:00
parent 2d151d8ca5
commit 3d76748161
8 changed files with 23 additions and 8 deletions

View File

@ -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 = ","
},