mirror of
https://github.com/tmux/tmux.git
synced 2026-07-22 16:52:42 +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;
|
||||
|
||||
input = args_has(args, 'I');
|
||||
if (input)
|
||||
if (input || (count == 1 && *args_string(args, 0) == '\0'))
|
||||
empty = 1;
|
||||
else
|
||||
empty = args_has(args, 'E');
|
||||
|
||||
Reference in New Issue
Block a user