mirror of
https://github.com/tmux/tmux.git
synced 2026-02-09 04:48:47 +00:00
Set PANE_STYLECHANGED when user options change, from Josh Cooper in
GitHub issue 4825.
This commit is contained in:
@@ -1226,6 +1226,10 @@ options_push_changes(const char *name)
|
||||
RB_FOREACH(wp, window_pane_tree, &all_window_panes)
|
||||
wp->flags |= (PANE_STYLECHANGED|PANE_THEMECHANGED);
|
||||
}
|
||||
if (*name == '@') {
|
||||
RB_FOREACH(wp, window_pane_tree, &all_window_panes)
|
||||
wp->flags |= PANE_STYLECHANGED;
|
||||
}
|
||||
if (strcmp(name, "pane-colours") == 0) {
|
||||
RB_FOREACH(wp, window_pane_tree, &all_window_panes)
|
||||
colour_palette_from_option(&wp->palette, wp->options);
|
||||
|
||||
Reference in New Issue
Block a user