Return to control-notify.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.9, 2014/04/23 10:14:29 | version 1.10, 2015/02/05 10:29:43 | ||
---|---|---|---|
|
|
||
ft = format_create(); | ft = format_create(); | ||
wl = winlink_find_by_window(&s->windows, w); | wl = winlink_find_by_window(&s->windows, w); | ||
if (wl != NULL) { | if (wl != NULL) { | ||
format_winlink(ft, c->session, wl); | format_defaults(ft, c, NULL, wl, NULL); | ||
control_write(c, "%s", format_expand(ft, template)); | control_write(c, "%s", format_expand(ft, template)); | ||
} | } | ||
format_free(ft); | format_free(ft); |