diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-25 11:44:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-25 11:44:00 +0000 |
commit | 43fb9835fabee828c46d54b656a90a77eb756384 (patch) | |
tree | a6c147a3ad260d52f1f40aa9c8db136bc9b7663a /cmd-new-window.c | |
parent | 599dd2a56009300df999c54c73aa9e83268809e8 (diff) | |
download | rtmux-43fb9835fabee828c46d54b656a90a77eb756384.tar.gz rtmux-43fb9835fabee828c46d54b656a90a77eb756384.tar.bz2 rtmux-43fb9835fabee828c46d54b656a90a77eb756384.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 161dc549..eac0df44 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); |