Add -P and -F to new-session.

This commit is contained in:
Nicholas Marriott
2013-03-22 17:01:15 +00:00
parent 0ccd84d2ef
commit 7f191c7951
4 changed files with 48 additions and 22 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);