mirror of
https://github.com/tmux/tmux.git
synced 2026-10-10 04:04:27 +00:00
Fix empty argument to splitw.
This commit is contained in:
@@ -101,7 +101,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
flags |= SPAWN_FULLSIZE;
|
flags |= SPAWN_FULLSIZE;
|
||||||
|
|
||||||
input = args_has(args, 'I');
|
input = args_has(args, 'I');
|
||||||
if (input)
|
if (input || (count == 1 && *args_string(args, 0) == '\0'))
|
||||||
empty = 1;
|
empty = 1;
|
||||||
else
|
else
|
||||||
empty = args_has(args, 'E');
|
empty = args_has(args, 'E');
|
||||||
|
|||||||
Reference in New Issue
Block a user