Return to cmd-new-window.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.81, 2020/03/31 17:14:40 | version 1.82, 2020/04/03 13:54:31 | ||
---|---|---|---|
|
|
||
if (args_has(args, 'P')) { | if (args_has(args, 'P')) { | ||
if ((template = args_get(args, 'F')) == NULL) | if ((template = args_get(args, 'F')) == NULL) | ||
template = NEW_WINDOW_TEMPLATE; | template = NEW_WINDOW_TEMPLATE; | ||
cp = format_single(item, template, c, s, new_wl, NULL); | cp = format_single(item, template, c, s, new_wl, | ||
new_wl->window->active); | |||
cmdq_print(item, "%s", cp); | cmdq_print(item, "%s", cp); | ||
free(cp); | free(cp); | ||
} | } |