version 1.65, 2021/10/14 13:19:01 |
version 1.66, 2021/11/01 09:34:49 |
|
|
struct session *s; |
struct session *s; |
struct window *w; |
struct window *w; |
struct window_pane *wp; |
struct window_pane *wp; |
|
int c; |
|
|
if (strcmp(name, "automatic-rename") == 0) { |
if (strcmp(name, "automatic-rename") == 0) { |
RB_FOREACH(w, windows, &windows) { |
RB_FOREACH(w, windows, &windows) { |
if (w->active == NULL) |
if (w->active == NULL) |
continue; |
continue; |
if (options_get_number(w->options, "automatic-rename")) |
if (options_get_number(w->options, name)) |
w->active->flags |= PANE_CHANGED; |
w->active->flags |= PANE_CHANGED; |
|
} |
|
} |
|
if (strcmp(name, "cursor-colour") == 0) { |
|
RB_FOREACH(wp, window_pane_tree, &all_window_panes) { |
|
c = options_get_number(wp->options, name); |
|
wp->screen->default_ccolour = c; |
} |
} |
} |
} |
if (strcmp(name, "key-table") == 0) { |
if (strcmp(name, "key-table") == 0) { |