diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-22 17:01:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-22 17:01:15 +0000 |
commit | 7f191c7951e54f635fc55a4c409bef3060eaacfb (patch) | |
tree | af92eb29eeb5072ed3a7aafe4f62269b0ec3c20c /cmd-new-window.c | |
parent | 0ccd84d2ef3b925d1039144d26af692fef69b866 (diff) | |
download | rtmux-7f191c7951e54f635fc55a4c409bef3060eaacfb.tar.gz rtmux-7f191c7951e54f635fc55a4c409bef3060eaacfb.tar.bz2 rtmux-7f191c7951e54f635fc55a4c409bef3060eaacfb.zip |
Add -P and -F to new-session.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r-- | cmd-new-window.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c index 28cc0884..cfc0b8bd 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -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); |