mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Wrap all the individual format_* calls in a single format_defaults
functions.
This commit is contained in:
4
names.c
4
names.c
@ -86,8 +86,8 @@ format_window_name(struct window *w)
|
||||
char *fmt, *name;
|
||||
|
||||
ft = format_create();
|
||||
format_window(ft, w);
|
||||
format_window_pane(ft, w->active);
|
||||
format_defaults_window(ft, w);
|
||||
format_defaults_pane(ft, w->active);
|
||||
|
||||
fmt = options_get_string(&w->options, "automatic-rename-format");
|
||||
name = format_expand(ft, fmt);
|
||||
|
Reference in New Issue
Block a user