summaryrefslogtreecommitdiffstats
path: root/cmd-split-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-13 19:03:59 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-13 19:03:59 +0000
commit52793e7a3fc7f53b173ee887c221ff4ed38499e8 (patch)
tree356d4c56edbc1c2e4ed9d567c682dafc30290808 /cmd-split-window.c
parent2e3bb5a51193269305eca3d689b6c66d08b2530a (diff)
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.
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r--cmd-split-window.c2
1 files changed, 1 insertions, 1 deletions
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");