summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-15 12:01:14 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-15 12:01:14 +0100
commit59d11474694ba0f1cc38b65d19a25b4e7c22a523 (patch)
tree8b9fe526af062ba104c5c40432f904fd9c445c34 /session.c
parent623e54788e77068779933eb60a042e5a82f32673 (diff)
parente7990375cb130853505fb2ff3a2fa801537119e5 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 7fac2111..4998b284 100644
--- a/session.c
+++ b/session.c
@@ -348,7 +348,7 @@ session_new(struct session *s, const char *name, int argc, char **argv,
shell = _PATH_BSHELL;
hlimit = options_get_number(s->options, "history-limit");
- w = window_create(name, argc, argv, path, shell, cwd, env, s->tio,
+ w = window_create_spawn(name, argc, argv, path, shell, cwd, env, s->tio,
s->sx, s->sy, hlimit, cause);
if (w == NULL) {
winlink_remove(&s->windows, wl);