diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-09-04 20:01:16 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-09-04 20:01:16 +0100 |
commit | f68a908c8ae4cd013e1a0ca5c5643381b0acb725 (patch) | |
tree | a4b2aa78ae9dc7397a021802729c3935fe33fcf3 /cmd-split-window.c | |
parent | 999c1c771b4282c60017b86b26f03136398ae09c (diff) | |
parent | fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59 (diff) | |
download | rtmux-f68a908c8ae4cd013e1a0ca5c5643381b0acb725.tar.gz rtmux-f68a908c8ae4cd013e1a0ca5c5643381b0acb725.tar.bz2 rtmux-f68a908c8ae4cd013e1a0ca5c5643381b0acb725.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r-- | cmd-split-window.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c index f39dfc56..978efdee 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -38,8 +38,8 @@ const struct cmd_entry cmd_split_window_entry = { .name = "split-window", .alias = "splitw", - .args = { "bc:dF:l:hp:Pt:v", 0, -1 }, - .usage = "[-bdhvP] [-c start-directory] [-F format] " + .args = { "bc:dfF:l:hp:Pt:v", 0, -1 }, + .usage = "[-bdfhvP] [-c start-directory] [-F format] " "[-p percentage|-l size] " CMD_TARGET_PANE_USAGE " [command]", .tflag = CMD_PANE, @@ -130,7 +130,8 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq) if (*shell == '\0' || areshell(shell)) shell = _PATH_BSHELL; - lc = layout_split_pane(wp, type, size, args_has(args, 'b')); + lc = layout_split_pane(wp, type, size, args_has(args, 'b'), + args_has(args, 'f')); if (lc == NULL) { cause = xstrdup("pane too small"); goto error; |