From 52793e7a3fc7f53b173ee887c221ff4ed38499e8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 13 Aug 2009 19:03:59 +0000 Subject: When creating a new session from the command-line where there is an external terminal, copy the termios(4) special characters and use them for new windows created in the new session. Suggested by Theo. --- cmd-split-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-split-window.c') diff --git a/cmd-split-window.c b/cmd-split-window.c index 70004a14..09bd214e 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -184,7 +184,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx) type = LAYOUT_LEFTRIGHT; wp = window_add_pane(w, hlimit); - if (window_pane_spawn(wp, cmd, cwd, &env, &cause) != 0) + if (window_pane_spawn(wp, cmd, cwd, &env, &s->tio, &cause) != 0) goto error; if (layout_split_pane(w->active, type, size, wp) != 0) { cause = xstrdup("pane too small"); -- cgit v1.2.3