diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-03-03 08:31:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-03-03 08:31:18 +0000 |
commit | 07ac16807f85d7bd5e7c7570f2b11250c65b6228 (patch) | |
tree | 8409a155ccc48f26d4ebf7c5fe5ba45fdf4e44fa /cmd-split-window.c | |
parent | 4d9ccd322909334b896d6a0420ea747898799385 (diff) | |
download | rtmux-07ac16807f85d7bd5e7c7570f2b11250c65b6228.tar.gz rtmux-07ac16807f85d7bd5e7c7570f2b11250c65b6228.tar.bz2 rtmux-07ac16807f85d7bd5e7c7570f2b11250c65b6228.zip |
Add move-pane command (like join-pane but allows the same window). Also
-b flag to join-pane and move-pane to place the pane to the left or
above. From George Nachman.
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r-- | cmd-split-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c index 5aa0af5f..3c7878f0 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -113,7 +113,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx) if (*shell == '\0' || areshell(shell)) shell = _PATH_BSHELL; - if ((lc = layout_split_pane(wp, type, size)) == NULL) { + if ((lc = layout_split_pane(wp, type, size, 0)) == NULL) { cause = xstrdup("pane too small"); goto error; } |