Add -P and -F to new-session.

This commit is contained in:
Nicholas Marriott
2013-03-25 11:44:00 +00:00
parent 599dd2a560
commit 43fb9835fa
3 changed files with 43 additions and 25 deletions

View File

@ -46,12 +46,10 @@ cmd_new_window_exec(struct cmd *self, struct cmd_q *cmdq)
struct session *s;
struct winlink *wl;
struct client *c;
const char *cmd, *cwd;
const char *template;
char *cause;
const char *cmd, *cwd, *template;
char *cause, *cp;
int idx, last, detached;
struct format_tree *ft;
char *cp;
if (args_has(args, 'a')) {
wl = cmd_find_window(cmdq, args_get(args, 't'), &s);