Return to cmd-new-session.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.122, 2019/11/14 08:00:30 | version 1.123, 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_SESSION_TEMPLATE; | template = NEW_SESSION_TEMPLATE; | ||
cp = format_single(item, template, c, s, NULL, NULL); | cp = format_single(item, template, c, s, s->curw, NULL); | ||
cmdq_print(item, "%s", cp); | cmdq_print(item, "%s", cp); | ||
free(cp); | free(cp); | ||
} | } |