mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:33:27 +00:00
Wrap all the individual format_* calls in a single format_defaults
functions.
This commit is contained in:
@ -88,7 +88,7 @@ control_notify_window_layout_changed(struct window *w)
|
||||
ft = format_create();
|
||||
wl = winlink_find_by_window(&s->windows, w);
|
||||
if (wl != NULL) {
|
||||
format_winlink(ft, c->session, wl);
|
||||
format_defaults(ft, c, NULL, wl, NULL);
|
||||
control_write(c, "%s", format_expand(ft, template));
|
||||
}
|
||||
format_free(ft);
|
||||
|
Reference in New Issue
Block a user